summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /svtools
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/test/test.cxx2
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
-rw-r--r--svtools/source/graphic/grfmgr2.cxx4
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
-rw-r--r--svtools/source/svrtf/svparser.cxx4
-rw-r--r--svtools/source/uno/genericunodialog.cxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index 7312a5f37eb5..fa676c6d6402 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -103,7 +103,7 @@ void TestApplication::Main()
// Init global servicemanager and set it for external services.
::comphelper::setProcessServiceFactory( TestApplication::getUNOServiceManager() );
- // Control sucess of operation.
+ // Control success of operation.
OSL_ENSURE( !(::comphelper::getProcessServiceFactory()!=TestApplication::getUNOServiceManager()), "TestApplication::Main()\nGlobal servicemanager not right initialized.\n" );
/**-***********************************************************************************************************
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 3d85f3e1e4df..c0c84718a4d1 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -834,7 +834,7 @@ void AssignmentPersistentData::Commit()
WaitObject aWaitCursor(this);
- // no matter what we do here, we handled the currently selected data source (no matter if successfull or not)
+ // no matter what we do here, we handled the currently selected data source (no matter if successful or not)
m_aDatasource.SaveValue();
// create an interaction handler (may be needed for connecting)
@@ -937,7 +937,7 @@ void AssignmentPersistentData::Commit()
{
WaitObject aWaitCursor(this);
- // no matter what we do here, we handled the currently selected table (no matter if successfull or not)
+ // no matter what we do here, we handled the currently selected table (no matter if successful or not)
m_aDatasource.SaveValue();
String sSelectedTable = m_aTable.GetText();
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 329e34d88848..6439ff7b37c4 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -943,11 +943,11 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOutputDevice,
if( bRet )
{
- // Attribute adjustment if neccessary
+ // Attribute adjustment if necessary
if( rAttributes.IsSpecialDrawMode() || rAttributes.IsAdjusted() || rAttributes.IsTransparent() )
ImplAdjust( aOutBmpEx, rAttributes, ADJUSTMENT_DRAWMODE | ADJUSTMENT_COLORS | ADJUSTMENT_TRANSPARENCY );
- // OutDev adjustment if neccessary
+ // OutDev adjustment if necessary
if( pOutputDevice->GetOutDevType() != OUTDEV_PRINTER && pOutputDevice->GetBitCount() <= 8 && aOutBmpEx.GetBitCount() >= 8 )
aOutBmpEx.Dither( BMP_DITHER_MATRIX );
}
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 68232e5db2a4..14444e4417c0 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1061,7 +1061,7 @@ int HTMLParser::_GetNextToken()
if (!maOptions.empty())
maOptions.clear();
- if( !IsParserWorking() ) // Don't continue if already an error occured
+ if( !IsParserWorking() ) // Don't continue if already an error occurred
return 0;
bool bReadNextCharSave = bReadNextChar;
@@ -1070,7 +1070,7 @@ int HTMLParser::_GetNextToken()
DBG_ASSERT( !bEndTokenFound,
"Read a character despite </SCRIPT> was read?" );
nNextCh = GetNextChar();
- if( !IsParserWorking() ) // Don't continue if already an error occured
+ if( !IsParserWorking() ) // Don't continue if already an error occurred
return 0;
bReadNextChar = false;
}
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index d44359764ead..5f2bcba9750c 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -244,7 +244,7 @@ sal_Unicode SvParser::GetNextChar()
&nInfo, &nCvtBytes);
if( (nInfo&RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL) != 0 )
{
- // The conversion wasn't successfull because we haven't
+ // The conversion wasn't successful because we haven't
// read enough characters.
if( pImplData->hContext != (rtl_TextToUnicodeContext)1 )
{
@@ -333,7 +333,7 @@ sal_Unicode SvParser::GetNextChar()
}
else if( 1 == nChars && 0 == nInfo )
{
- // The conversion was successfull
+ // The conversion was successful
DBG_ASSERT( nCvtBytes == 1,
"no all bytes have been converted!" );
c = cUC;
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx
index f1263221c8c6..870fffb71fc2 100644
--- a/svtools/source/uno/genericunodialog.cxx
+++ b/svtools/source/uno/genericunodialog.cxx
@@ -227,7 +227,7 @@ sal_Int16 SAL_CALL OGenericUnoDialog::execute( ) throw(RuntimeException)
SolarMutexGuard aSolarGuard;
Dialog* pDialogToExecute = NULL;
- // create the dialog, if neccessary
+ // create the dialog, if necessary
{
UnoDialogEntryGuard aGuard( *this );