Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/linters/codespell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,6 @@ donot
do'nt
dont'
dont't
doocument
dosn't
dosposing
dota
Expand Down Expand Up @@ -1431,7 +1430,6 @@ insterad
instrction
instread
instrospection
insufficent
insuffiency
intalled
intance
Expand Down Expand Up @@ -1574,7 +1572,6 @@ lightyear
ligth
lik
likeley
linheight
linke
linkes
lins
Expand Down Expand Up @@ -1694,7 +1691,6 @@ mouvements
movebackwrd
mudule
muext
muliple
multible
multipe
multipl
Expand Down Expand Up @@ -1826,8 +1822,6 @@ orignal
ot
otains
otation
otion
otput
otu
oultinenodes
ource
Expand Down Expand Up @@ -1855,23 +1849,17 @@ ovrridables
ovveride
ower
ownder
ownerhsip
ownes
oyu
pacakge
pacakges
paches
packe
padd
paermissions
paeth
pagent
painiting
paintin
pakageimpl
pallette
paoition
paragrah
paragraphy
paragrph
paramenter
Expand Down Expand Up @@ -1899,13 +1887,11 @@ partion
partitially
pary
pash
passowrd
passt
passtrough
pasword
patchs
pathes
paticular
patter
pattrns
pecifies
Expand All @@ -1915,24 +1901,20 @@ pepare
perfectably
perfom
perfomed
performace
performes
performin
periode
perisist
permision
permited
permssion
peroendicular
persistance
persistant
perspecitve
pervious
pevent
pevents
pezier
phillippines
phyiscal
pich
pinter
pitmap
Expand Down
2 changes: 1 addition & 1 deletion main/chart2/source/tools/ThreeDHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ drawing::CameraGeometry ThreeDHelper::getDefaultCameraGeometry( bool bPie )

if( bPie )
{
vrp = drawing::Position3D( 0.0, 0.0, 87591.2408759124 );//--> 5 percent perspecitve
vrp = drawing::Position3D( 0.0, 0.0, 87591.2408759124 );//--> 5 percent perspective
vpn = drawing::Direction3D( 0.0, 0.0, 1.0 );
vup = drawing::Direction3D( 0.0, 1.0, 0.0 );
}
Expand Down
2 changes: 1 addition & 1 deletion main/chart2/source/view/axes/ScaleAutomatism.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
if( bAutoMaximum && m_bExpandBorderToIncrementRhythm )
rExplicitScale.Maximum = EquidistantTickFactory::getMaximumAtIncrement( rExplicitScale.Maximum, rExplicitIncrement );

//prevent performace killover
//prevent performance killover
double fDistanceCount = ::rtl::math::approxFloor( (rExplicitScale.Maximum-rExplicitScale.Minimum) / rExplicitIncrement.Distance );
if( static_cast< sal_Int32 >( fDistanceCount ) > MAXIMUM_MANUAL_INCREMENT_COUNT )
{
Expand Down
4 changes: 2 additions & 2 deletions main/chart2/source/view/diagram/VDiagram.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ void VDiagram::createShapes_3d()

//perspective
{
//ignore distance and focal length from file format and model comcpletely
//use vrp only to indicate the distance of the camera and thus influence the perspecitve
//ignore distance and focal length from file format and model completely
//use vrp only to indicate the distance of the camera and thus influence the perspective
xDestProp->setPropertyValue( C2U( UNO_NAME_3D_SCENE_DISTANCE ), uno::makeAny(
static_cast<sal_Int32>(ThreeDHelper::getCameraDistance( xSourceProp ))));
xDestProp->setPropertyValue( C2U( UNO_NAME_3D_SCENE_PERSPECTIVE ),
Expand Down
4 changes: 2 additions & 2 deletions main/cppuhelper/source/component.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ void OComponentHelper::dispose()
{
// An frequently programming error is to release the last
// reference to this object in the disposing message.
// Make it rubust, hold a self Reference.
// Make it robust, hold a self Reference.
Reference<XComponent > xSelf( this );

// Guard dispose against multible threading
// Guard dispose against multiple threading
// Remark: It is an error to call dispose more than once
sal_Bool bDoDispose = sal_False;
{
Expand Down
2 changes: 1 addition & 1 deletion main/cppuhelper/test/testpropshlp.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ void test_PropertySetHelper()
OSL_ENSURE( pPS_L->nCount == pPS_L->nCurrent, "not all listeners called" );


//vetoable exception with multible
//vetoable exception with multiple
szPN.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM("INT16") );
szPN.getArray()[1] = OUString( RTL_CONSTASCII_USTRINGPARAM("INT16") );
pPS->nINT32 = 0;
Expand Down
2 changes: 1 addition & 1 deletion main/dbaccess/source/core/api/preparedstatement.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Sequence< ::rtl::OUString > OPreparedStatement::getSupportedServiceNames( ) thr
{
Sequence< ::rtl::OUString > aSNS( 2 );
aSNS.getArray()[0] = SERVICE_SDBC_PREPAREDSTATEMENT;
aSNS.getArray()[1] = SERVICE_SDB_PREPAREDSTATMENT;
aSNS.getArray()[1] = SERVICE_SDB_PREPAREDSTATEMENT;
return aSNS;
}

Expand Down
2 changes: 1 addition & 1 deletion main/dbaccess/source/inc/stringconstants.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ DECLARE_CONSTASCII_USTRING(SERVICE_SDB_DATABASECONTEXT);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_DATASOURCE);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_ROWSET);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_RESULTSET);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_PREPAREDSTATMENT);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_PREPAREDSTATEMENT);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_CALLABLESTATEMENT);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_SQLQUERYCOMPOSER);
DECLARE_CONSTASCII_USTRING(SERVICE_SDB_DATASETTINGS);
Expand Down
2 changes: 1 addition & 1 deletion main/dbaccess/source/inc/stringconstants.inc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_DATABASECONTEXT, "com.sun.star.sdb.Data
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_DATASOURCE, "com.sun.star.sdb.DataSource");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_RESULTSET, "com.sun.star.sdb.ResultSet");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_ROWSET, "com.sun.star.sdb.RowSet");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_PREPAREDSTATMENT, "com.sun.star.sdb.PreparedStatement");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_PREPAREDSTATEMENT, "com.sun.star.sdb.PreparedStatement");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_CALLABLESTATEMENT, "com.sun.star.sdbc.CallableStatement");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_SQLQUERYCOMPOSER, "com.sun.star.sdb.SQLQueryComposer");
IMPLEMENT_CONSTASCII_USTRING(SERVICE_SDB_DATASETTINGS, "com.sun.star.sdb.DefinitionSettings");
Expand Down
2 changes: 1 addition & 1 deletion main/dbaccess/source/ui/inc/DExport.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ namespace dbaui
void enableCheckOnly() { m_bCheckOnly = sal_True; }
sal_Bool isCheckEnabled() const { return m_bCheckOnly; }

static ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > createPreparedStatment( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData
static ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > createPreparedStatement( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData
,const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _xDestTable
,const TPositions& _rvColumns);
};
Expand Down
6 changes: 3 additions & 3 deletions main/dbaccess/source/ui/misc/DExport.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ sal_Bool ODatabaseExport::createRowSet()
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "misc", "Ocke.Janssen@sun.com", "ODatabaseExport::createRowSet" );
DBG_CHKTHIS(ODatabaseExport,NULL);
m_pUpdateHelper.reset(new OParameterUpdateHelper(createPreparedStatment(m_xConnection->getMetaData(),m_xTable,m_vColumns)));
m_pUpdateHelper.reset(new OParameterUpdateHelper(createPreparedStatement(m_xConnection->getMetaData(),m_xTable,m_vColumns)));

return m_pUpdateHelper.get() != NULL;
}
Expand Down Expand Up @@ -834,11 +834,11 @@ void ODatabaseExport::ensureFormatter()
}
}
// -----------------------------------------------------------------------------
Reference< XPreparedStatement > ODatabaseExport::createPreparedStatment( const Reference<XDatabaseMetaData>& _xMetaData
Reference< XPreparedStatement > ODatabaseExport::createPreparedStatement( const Reference<XDatabaseMetaData>& _xMetaData
,const Reference<XPropertySet>& _xDestTable
,const TPositions& _rvColumns)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "misc", "Ocke.Janssen@sun.com", "ODatabaseExport::createPreparedStatment" );
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "misc", "Ocke.Janssen@sun.com", "ODatabaseExport::createPreparedStatement" );
::rtl::OUString aSql(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("INSERT INTO ")));
::rtl::OUString sComposedTableName = ::dbtools::composeTableName( _xMetaData, _xDestTable, ::dbtools::eInDataManipulation, false, false, true );

Expand Down
2 changes: 1 addition & 1 deletion main/dbaccess/source/ui/querydesign/QueryTableView.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ namespace
// don't create an Undo-Action for the new connection : the connection is
// covered by the Undo-Action for the tabwin, as the "Undo the insert" will
// automatically remove all connections adjacent to the win.
// (Because of this automatism we would have an ownerhsip ambiguity for
// (Because of this automatism we would have an ownership ambiguity for
// the connection data if we would insert the conn-Undo-Action)
// FS - 21.10.99 - 69183
}
Expand Down
6 changes: 3 additions & 3 deletions main/dbaccess/source/ui/uno/copytablewizard.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ namespace dbaui

Effectively, this method extracts m_xSourceResultSet, m_aSourceSelection, and m_bSourceSelectionBookmarks.

If an inconsistent/insufficent sub set of those properties is present in the descriptor, and exception
If an inconsistent/insufficient sub set of those properties is present in the descriptor, and exception
is thrown.
*/
void impl_extractSourceResultSet_throw(
Expand Down Expand Up @@ -630,7 +630,7 @@ namespace
/** tries to obtain the InteractionHandler associated with a given data source

If the data source is a sdb-level data source, it will have a DatabaseDocument associated
with it. This doocument may have an InteractionHandler used while loading it.
with it. This document may have an InteractionHandler used while loading it.

@throws RuntimeException
if it occurs during invoking any of the data source's methods, or if any of the involved
Expand Down Expand Up @@ -1187,7 +1187,7 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
}

// now create, fill and execute the prepared statement
Reference< XPreparedStatement > xStatement( ODatabaseExport::createPreparedStatment( xDestMetaData, _rxDestTable, aColumnMapping ), UNO_SET_THROW );
Reference< XPreparedStatement > xStatement( ODatabaseExport::createPreparedStatement( xDestMetaData, _rxDestTable, aColumnMapping ), UNO_SET_THROW );
Reference< XParameters > xStatementParams( xStatement, UNO_QUERY_THROW );

const bool bSelectedRecordsOnly = m_aSourceSelection.getLength() != 0;
Expand Down
2 changes: 1 addition & 1 deletion main/fpicker/source/win32/filepicker/controlcommand.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public:

// clients of this method should use the returned
// pointer only temporary because it's not ref-counted
// and the ownerhsip belongs to this instance
// and the ownership belongs to this instance
CControlCommand* SAL_CALL getNextCommand( ) const;

// transfers the ownership to this class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void installPackage(PackageDescription packageData) {
}

// Some packages have to be installed with parameter "--force", if the link "/usr/bin/soffice"
// already exists. These pacakges return true with methode "useForce()".
// already exists. These packages return true with methode "useForce()".
boolean useForce = false;
if ( packageData.useForce() ) {
File sofficeLink = new File("/usr/bin/soffice");
Expand Down
2 changes: 1 addition & 1 deletion main/odk/examples/DevelopersGuide/Charts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ $(SAMPLE_CLASS_OUT)/%/manifest.xml :
@echo $(SQM) $(SQM)manifest:full-path="$(QM)$(COMP_COMPONENTS)$(QM)"/$(CSEP)>> $@
@echo $(OSEP)/manifest:manifest$(CSEP) >> $@

# rule for component pacakge file
# rule for component package file
$(COMP_PACKAGE) : $(COMP_JAR) $(COMP_UNOPKG_MANIFEST) $(COMP_COMPONENTS)
-$(DEL) $(subst \\,\,$(subst /,$(PS),$@))
-$(MKDIR) $(subst /,$(PS),$(@D))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ $(OUT_COMP_CLASS)/%/manifest.xml :
@echo $(SQM) $(SQM)manifest:full-path="$(QM)$(COMP_COMPONENTS)$(QM)"/$(CSEP)>> $@
@echo $(OSEP)/manifest:manifest$(CSEP) >> $@

# rule for component pacakge file
# rule for component package file
$(COMP_PACKAGE) : $(COMP_RDB) $(COMP_JAR) $(COMP_UNOPKG_MANIFEST) $(COMP_COMPONENTS)
-$(DEL) $(subst \\,\,$(subst /,$(PS),$@))
-$(MKDIR) $(subst /,$(PS),$(@D))
Expand Down
4 changes: 2 additions & 2 deletions main/offapi/com/sun/star/sdb/tools/XObjectNames.idl
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ module com { module sun { module star { module sdb { module tools {
<p>For instance, it can validate names against
the characters allowed in the object names of a connection. Also, it
relieves you from caring whether a database supports queries in a <code>SELECT</code>
statment's <code>FROM</code> part (known as "queries in queries"). In such
statement's <code>FROM</code> part (known as "queries in queries"). In such
databases, query and table names share a common namespace, thus they must be
unique. Using this interface, you can easily ensure this uniqueness.</p>

<p>All of the functionality present in this interface depends on a connection,
thus it entry point for obtaining it is a <type scope="com::sun::star::sdb">Connection</type>
service.</p>

<p>The component itself does not have life-time control mechanimns, i.e. you
<p>The component itself does not have life-time control mechanisms, i.e. you
cannot explicitly dispose it (<member scope="com::sun::star::lang">XComponent::dispose</member>),
and you cannot be notified when it dies.<br/>
However, if your try to access any of its methods or attributes, after the
Expand Down
2 changes: 1 addition & 1 deletion main/postprocess/signing/signing.pl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sub sign_files #09.07.2007 10:36
$commandline_base = $signtool . " " . "-f $opt_pfxfile -p $opt_pass -t $opt_timestamp_url";

# Here switch between:
# one command line for muliple files (all doesn't work, too much) / for each file one command line
# one command line for multiple files (all doesn't work, too much) / for each file one command line
if ( $max_files > 1 ) {
exec_multi_sign($files_to_sign, $commandline_base);
} else
Expand Down
4 changes: 2 additions & 2 deletions main/sal/osl/w32/interlck.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@

extern int osl_isSingleCPU;

/* For all Intel x86 above x486 we use a spezial inline assembler implementation.
/* For all Intel x86 above x486 we use a special inline assembler implementation.
The main reason is that WIN9? does not return the result of the operation.
Instead there is only returned a value greater than zero is the increment
result is greater than zero, but not the result of the addition.
For Windows NT the native function could be used, because the correct result
is returned. Because of simpler code maintenance and performace reasons we use
is returned. Because of simpler code maintenance and performance reasons we use
on every x86-Windows-Platform the inline assembler implementation.
*/

Expand Down
8 changes: 4 additions & 4 deletions main/scripting/source/provider/MasterScriptProvider.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ throw ( provider::ScriptFrameworkErrorException,
// for languages other than basic, scripts located in uno packages
// are merged into the user/share location context.
// For other languages the location attribute in script url has the form
// location = [user|share]:uno_packages or location :uno_pacakges/xxxx.uno.pkg
// location = [user|share]:uno_packages or location :uno_packages/xxxx.uno.pkg
// we need to extract the value of location part from the
// location attribute of the script, if the script is located in an
// uno package then that is the location part up to and including
Expand Down Expand Up @@ -554,7 +554,7 @@ MasterScriptProvider::insertByName( const ::rtl::OUString& aName, const Any& aEl
throw lang::IllegalArgumentException( OUSTR("Name not set!!"),
Reference < XInterface > (), 1 );
}
// TODO for library pacakge parse the language, for the moment will try
// TODO for library package parse the language, for the moment will try
// to get each provider to process the new Package, the first one the succeeds
// will terminate processing
if ( !providerCache() )
Expand Down Expand Up @@ -628,7 +628,7 @@ MasterScriptProvider::removeByName( const ::rtl::OUString& Name ) throw ( contai
throw lang::IllegalArgumentException( OUSTR("Name not set!!"),
Reference < XInterface > (), 1 );
}
// TODO for Script library pacakge url parse the language,
// TODO for Script library package url parse the language,
// for the moment will just try to get each provider to process remove/revoke
// request, the first one the succeeds will terminate processing

Expand Down Expand Up @@ -733,7 +733,7 @@ MasterScriptProvider::hasByName( const ::rtl::OUString& aName ) throw (RuntimeEx
throw lang::IllegalArgumentException( OUSTR("Name not set!!"),
Reference < XInterface > (), 1 );
}
// TODO for Script library pacakge url parse the language,
// TODO for Script library package url parse the language,
// for the moment will just try to get each provider to see if the
// package exists in any provider, first one that succeed will
// terminate the loop
Expand Down
4 changes: 2 additions & 2 deletions main/sdext/source/pdfimport/tree/writertreevisiting.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ void WriterXmlOptimizer::visit( PageElement& elem, const std::list< Element* >::
void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem )
{
/* indicators for a header:
* - single line paragrah at top of page ( inside 15% page height)
* - at least linheight above the next paragr aph
* - single line paragraph at top of page ( inside 15% page height)
* - at least lineheight above the next paragraph
*
* indicators for a footer likewise:
* - single line paragraph at bottom of page (inside 15% page height)
Expand Down
2 changes: 1 addition & 1 deletion main/sfx2/inc/macro.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public:
sal_Bool bRequestDone,
::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aArgs );

SfxMacroStatement( const String &rStatment );
SfxMacroStatement( const String &rStatement );
~SfxMacroStatement();

sal_uInt16 GetSlotId() const;
Expand Down
2 changes: 1 addition & 1 deletion main/sfx2/source/dialog/mailmodel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat(
}
}

//check if this is the pdf otput filter (i#64555)
//check if this is the pdf output filter (i#64555)
if( bSendAsPDF )
{
SaveResult eShowPDFFilterDialog = ShowFilterOptionsDialog(
Expand Down
Loading