diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /basic | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sb.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/exprgen.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/loops.cxx | 4 | ||||
-rw-r--r-- | basic/source/inc/runtime.hxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 4 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 8c2155e610b4..c24828ae691e 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1237,7 +1237,7 @@ void StarBASIC::InitAllModules( StarBASIC* pBasicNotToInit ) } // compile modules first then RunInit ( otherwise there is // can be order dependency, e.g. classmodule A has a member - // of of type classmodule B and classmodule B hasn't been compiled yet ) + // of type classmodule B and classmodule B hasn't been compiled yet ) // Consider required types to init in right order. Class modules // that are required by other modules have to be initialized first. diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 7d4ae675562b..aff857622a53 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -529,7 +529,7 @@ const SbxObject* SbModule::FindType( const OUString& aTypeName ) const } -// From the code generator: deletion of images and the oposite of validation for entries +// From the code generator: deletion of images and the opposite of validation for entries void SbModule::StartDefinitions() { diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index bba9e88a8b35..4f42a4d103e4 100644 --- a/basic/source/comp/exprgen.cxx +++ b/basic/source/comp/exprgen.cxx @@ -109,7 +109,7 @@ void SbiExprNode::Gen( RecursiveMode eRecMode ) // special treatment for WITH else if( (pWithParent_ = GetWithParent()) != NULL ) { - eOp = _ELEM; // .-Term in in WITH + eOp = _ELEM; // .-Term in WITH } else { diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index 1de4e1568d60..abd71e460ea2 100644 --- a/basic/source/comp/loops.cxx +++ b/basic/source/comp/loops.cxx @@ -537,7 +537,7 @@ void SbiParser::Resume() { aGen.Gen( _RESUME, 0 ); break; - } // fall thru + } // fall through case SYMBOL: if( MayBeLabel() ) { @@ -545,7 +545,7 @@ void SbiParser::Resume() aGen.Gen( _RESUME, nLbl ); Next(); break; - } // fall thru + } // fall through default: Error( SbERR_LABEL_EXPECTED ); } diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index 49fd3410784d..10b8be80146f 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -158,7 +158,7 @@ public: SbiInstance* pNext; // instances chain // #31460 new concept for StepInto/Over/Out, - // Explaination see runtime.cxx at SbiInstance::CalcBreakCallLevel() + // explanation see runtime.cxx at SbiInstance::CalcBreakCallLevel() sal_uInt16 nCallLvl; sal_uInt16 nBreakCallLvl; void CalcBreakCallLevel( sal_uInt16 nFlags ); diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index a8a5e94b1759..81220f40cda5 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -3347,7 +3347,7 @@ void SbiRuntime::StepBASED( sal_uInt32 nOp1 ) SbxVariable* p1 = new SbxVariable; SbxVariableRef x2 = PopVar(); - // #109275 Check compatiblity mode + // #109275 Check compatibility mode bool bCompatible = ((nOp1 & 0x8000) != 0); sal_uInt16 uBase = static_cast<sal_uInt16>(nOp1 & 1); // Can only be 0 or 1 p1->PutInteger( uBase ); @@ -3390,7 +3390,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt { // emulate pcode here StepARGC(); - // psuedo StepLOADSC + // pseudo StepLOADSC OUString sArg = aName.copy( 1, aName.getLength() - 2 ); SbxVariable* p = new SbxVariable; p->PutString( sArg ); diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index db22aef5a886..5c9126d6c3ef 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1352,7 +1352,7 @@ SfxLibrary* SfxLibraryContainer::getImplLib( const OUString& rLibraryName ) // Storing with password encryption -// Empty implementation, avoids unneccesary implementation in dlgcont.cxx +// Empty implementation, avoids unnecessary implementation in dlgcont.cxx bool SfxLibraryContainer::implStorePasswordLibrary( SfxLibrary*, const OUString&, const uno::Reference< embed::XStorage >&, |