diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 17:11:39 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 17:14:16 +0100 |
commit | f5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch) | |
tree | cda73db2df15d821e0587f345edd7587953bdbdf /basic | |
parent | ecf00403376d13355fcf6fb7cd36b3500f19fc69 (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 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/parser.cxx | 6 | ||||
-rw-r--r-- | basic/source/runtime/step1.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxbool.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxint.cxx | 6 |
6 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 77adc0b2a26e..55b5689462aa 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2507,7 +2507,7 @@ void clearUnoMethodsForBasic( StarBASIC* pBasic ) if ( pModBasic == pBasic ) { // for now the solution is to remove the method from the list and to clear it, - // but in case the element should be correctly transfered to another StarBASIC, + // but in case the element should be correctly transferred to another StarBASIC, // we should either set module parent to NULL without clearing it, or even // set the new StarBASIC as the parent of the module // pObject->SetParent( NULL ); diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 820885d2498f..4b4472ea01e6 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1353,7 +1353,7 @@ void SbModule::RunInit() void SbModule::AddVarName( const OUString& aName ) { - // see if the name is added allready + // see if the name is added already std::vector< OUString >::iterator it_end = mModuleVariableNames.end(); for ( std::vector< OUString >::iterator it = mModuleVariableNames.begin(); it != it_end; ++it ) { diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index 28c553fb999d..bb53d93b4b24 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -444,7 +444,7 @@ bool SbiParser::Parse() } // test for the statement's end - - // might also be an ELSE, as there must not neccessary be a : before the ELSE! + // might also be an ELSE, as there must not necessary be a : before the ELSE! if( !IsEos() ) { @@ -602,8 +602,8 @@ void SbiParser::Set() aLvalue.Gen(); aExpr.Gen(); // Its a good idea to distinguish between - // set someting = another & - // someting = another + // set something = another & + // something = another // ( its necessary for vba objects where set is object // specific and also doesn't involve processing default params ) if( pDef->GetTypeId() ) diff --git a/basic/source/runtime/step1.cxx b/basic/source/runtime/step1.cxx index 4f1397044673..7b721294df5b 100644 --- a/basic/source/runtime/step1.cxx +++ b/basic/source/runtime/step1.cxx @@ -386,7 +386,7 @@ void SbiRuntime::StepRESUME( sal_uInt32 nOp1 ) } else pCode = pErrStmnt; - if ( pError ) // current in error handler ( and got a Resume Next statment ) + if ( pError ) // current in error handler ( and got a Resume Next statement ) SbxErrObject::getUnoErrObject()->Clear(); if( nOp1 > 1 ) diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx index 426552da7ec5..4ff018fd1e18 100644 --- a/basic/source/sbx/sbxbool.cxx +++ b/basic/source/sbx/sbxbool.cxx @@ -74,7 +74,7 @@ enum SbxBOOL ImpGetBool( const SbxValues* p ) nRes = SbxTRUE; else if( !p->pOUString->equalsIgnoreAsciiCase( SbxRes( STRING_FALSE ) ) ) { - // it can be convertable to a number + // it can be convertible to a number bool bError = true; double n; SbxDataType t; diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index 7713c7621948..6642789c58b1 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -505,7 +505,7 @@ void ImpPutInt64( SbxValues* p, sal_Int64 n ) start: switch( +p->eType ) { - // Check neccessary + // Check necessary case SbxCHAR: aTmp.pChar = &p->nChar; goto direct; case SbxBYTE: @@ -780,7 +780,7 @@ void ImpPutUInt64( SbxValues* p, sal_uInt64 n ) start: switch( +p->eType ) { - // Check neccessary + // Check necessary case SbxCHAR: aTmp.pChar = &p->nChar; goto direct; case SbxBYTE: @@ -808,7 +808,7 @@ start: aTmp.eType = SbxDataType( p->eType | SbxBYREF ); p = &aTmp; goto start; - // Check not neccessary + // Check not necessary case SbxSALUINT64: p->uInt64 = n; break; |