diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/basic/sberrors.hxx | 2 | ||||
-rw-r--r-- | basic/inc/basic/sbxdef.hxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sb.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 14 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/dim.cxx | 8 | ||||
-rw-r--r-- | basic/source/comp/exprgen.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/step1.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/step2.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxint.cxx | 8 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 4 | ||||
-rw-r--r-- | basic/workben/mgrtest.cxx | 22 |
13 files changed, 37 insertions, 37 deletions
diff --git a/basic/inc/basic/sberrors.hxx b/basic/inc/basic/sberrors.hxx index 8799a203fbd9..a2364ae36bb2 100644 --- a/basic/inc/basic/sberrors.hxx +++ b/basic/inc/basic/sberrors.hxx @@ -193,7 +193,7 @@ typedef sal_uIntPtr SbError; #define ERRCODE_BASIC_GETPROP_FAILED ((LAST_SBX_ERROR_ID+62UL) | ERRCODE_AREA_SBX | \ ERRCODE_CLASS_RUNTIME) // Unable to get property -// Compiler Errors (do not occure at runtime) +// Compiler Errors (do not occur at runtime) // These IDs can shift at any time #define ERRCODE_BASIC_UNEXPECTED ((LAST_SBX_ERROR_ID+63UL) | ERRCODE_AREA_SBX | \ diff --git a/basic/inc/basic/sbxdef.hxx b/basic/inc/basic/sbxdef.hxx index cf8f4fde1047..87bbb172ab1b 100644 --- a/basic/inc/basic/sbxdef.hxx +++ b/basic/inc/basic/sbxdef.hxx @@ -332,7 +332,7 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion #define SBXCR_SBX 0x20584253 // SBX(blank) -// List of predefined SBX-IDs. New SBX-IDs must be precisly defined so that +// List of predefined SBX-IDs. New SBX-IDs must be precisely defined so that // they are unique within the Stream and appropriate Factory. #define SBXID_VALUE 0x4E4E // NN: SbxValue diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index cb707d2dd1dd..25800470536d 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1044,7 +1044,7 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic ) /************************************************************************** * -* Creation/Managment of modules +* Creation/Management of modules * **************************************************************************/ diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 4823e8d84b35..1417ba50a198 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -187,12 +187,12 @@ Reference< XIdlReflection > getCoreReflection_Impl( void ) xContext->getValueByName( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection") ) ) >>= xCoreReflection; - OSL_ENSURE( xCoreReflection.is(), "### CoreReflection singleton not accessable!?" ); + OSL_ENSURE( xCoreReflection.is(), "### CoreReflection singleton not accessible!?" ); } if( !xCoreReflection.is() ) { throw DeploymentException( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection singleton not accessable") ), + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection singleton not accessible") ), Reference< XInterface >() ); } } @@ -230,13 +230,13 @@ Reference< XHierarchicalNameAccess > getTypeProvider_Impl( void ) xContext->getValueByName( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theTypeDescriptionManager") ) ) >>= xAccess; - OSL_ENSURE( xAccess.is(), "### TypeDescriptionManager singleton not accessable!?" ); + OSL_ENSURE( xAccess.is(), "### TypeDescriptionManager singleton not accessible!?" ); } if( !xAccess.is() ) { throw DeploymentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM - ("/singletons/com.sun.star.reflection.theTypeDescriptionManager singleton not accessable") ), + ("/singletons/com.sun.star.reflection.theTypeDescriptionManager singleton not accessible") ), Reference< XInterface >() ); } } @@ -264,7 +264,7 @@ Reference< XTypeConverter > getTypeConverter_Impl( void ) { throw DeploymentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM - ("com.sun.star.script.Converter service not accessable") ), + ("com.sun.star.script.Converter service not accessible") ), Reference< XInterface >() ); } } @@ -2603,7 +2603,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 ); @@ -3743,7 +3743,7 @@ void SbUnoService::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, continue; com::sun::star::uno::Type aType( xParamTypeDesc->getTypeClass(), xParamTypeDesc->getName() ); - // sbx paramter needs offset 1 + // sbx parameter needs offset 1 pAnyArgs[i] = sbxToUnoValue( pParams->Get( iSbx ), aType ); // Check for out parameter if not already done diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 827b7ecebdb4..4b46d1889d36 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1297,7 +1297,7 @@ void SbModule::RunInit() void SbModule::AddVarName( const String& aName ) { - // see if the name is added allready + // see if the name is added already std::vector< String >::iterator it_end = mModuleVariableNames.end(); for ( std::vector< String >::iterator it = mModuleVariableNames.begin(); it != it_end; ++it ) { diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index 64043c454cfb..76bc801d3407 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -595,7 +595,7 @@ void SbiParser::DefType( sal_Bool bPrivate ) pDim = NULL; pElem = VarDecl(&pDim,sal_False,sal_False); if( !pElem ) - bDone = sal_True; // Error occured + bDone = sal_True; // Error occurred } if( pElem ) { @@ -727,14 +727,14 @@ void SbiParser::DefEnum( sal_Bool bPrivate ) pElem = VarDecl( &pDim, sal_False, sal_True ); if( !pElem ) { - bDone = sal_True; // Error occured + bDone = sal_True; // Error occurred break; } else if( pDim ) { delete pDim; Error( SbERR_SYNTAX ); - bDone = sal_True; // Error occured + bDone = sal_True; // Error occurred break; } @@ -764,7 +764,7 @@ void SbiParser::DefEnum( sal_Bool bPrivate ) if( pOld ) { Error( SbERR_VAR_DEFINED, pElem->GetName() ); - bDone = sal_True; // Error occured + bDone = sal_True; // Error occurred break; } diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index 63c090ec66fc..3d41f9f60cee 100644 --- a/basic/source/comp/exprgen.cxx +++ b/basic/source/comp/exprgen.cxx @@ -258,7 +258,7 @@ void SbiExpression::Gen( RecursiveMode eRecMode ) { sal_uInt16 uBase = pParser->nBase; if( pParser->IsCompatible() ) - uBase |= 0x8000; // #109275 Flag compatiblity + uBase |= 0x8000; // #109275 Flag compatibility pParser->aGen.Gen( _BASED, uBase ); pParser->aGen.Gen( _ARGV ); } diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index d7878a28d28f..2a5e2b5d868c 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -776,7 +776,7 @@ sal_Bool SbiRuntime::Step() pInst->nErl = nLine; pErrCode = pCode; pErrStmnt = pStmnt; - // An error occured in an error handler + // An error occurred in an error handler // force parent handler ( if there is one ) // to handle the error bool bLetParentHandleThis = false; diff --git a/basic/source/runtime/step1.cxx b/basic/source/runtime/step1.cxx index 95d8d844f4ee..0a357468d036 100644 --- a/basic/source/runtime/step1.cxx +++ b/basic/source/runtime/step1.cxx @@ -376,7 +376,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 ) @@ -553,7 +553,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 ); diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx index db5ddc59ee56..3a5c1314f28c 100644 --- a/basic/source/runtime/step2.cxx +++ b/basic/source/runtime/step2.cxx @@ -81,7 +81,7 @@ SbxVariable* SbiRuntime::FindElement { // emulate pcode here StepARGC(); - // psuedo StepLOADSC + // pseudo StepLOADSC String sArg = aName.Copy( 1, aName.Len() - 2 ); SbxVariable* p = new SbxVariable; p->PutString( sArg ); diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index eca771a89c8d..110e0cacd872 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -530,7 +530,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: @@ -557,7 +557,7 @@ start: aTmp.eType = SbxDataType( p->eType | SbxBYREF ); p = &aTmp; goto start; - // Check not neccessary + // Check not necessary case SbxSALINT64: p->nInt64 = n; break; case SbxSINGLE: @@ -833,7 +833,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: @@ -865,7 +865,7 @@ start: aTmp.eType = SbxDataType( p->eType | SbxBYREF ); p = &aTmp; goto start; - // Check not neccessary + // Check not necessary case SbxSALUINT64: p->uInt64 = n; break; diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 112014e3dc71..4e40c432cb39 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -654,7 +654,7 @@ sal_Bool SfxLibraryContainer::init_Impl( } else { - // Default pathes + // Default paths maLibraryPath = SvtPathOptions().GetBasicPath(); } @@ -1313,7 +1313,7 @@ SfxLibrary* SfxLibraryContainer::getImplLib( const String& rLibraryName ) // Storing with password encryption -// Empty implementation, avoids unneccesary implementation in dlgcont.cxx +// Empty implementation, avoids unnecessary implementation in dlgcont.cxx sal_Bool SfxLibraryContainer::implStorePasswordLibrary( SfxLibrary*, const OUString&, diff --git a/basic/workben/mgrtest.cxx b/basic/workben/mgrtest.cxx index 142b387cc698..5331bb7dea29 100644 --- a/basic/workben/mgrtest.cxx +++ b/basic/workben/mgrtest.cxx @@ -151,33 +151,33 @@ TestWindow::TestWindow() : aToolBox.InsertBreak(); aToolBox.InsertItem( TB_CREATELIB1, "CreateLib1" ); - aToolBox.SetHelpText( TB_CREATELIB1, "Create Libary LIB1" ); + aToolBox.SetHelpText( TB_CREATELIB1, "Create Library LIB1" ); aToolBox.InsertItem( TB_CREATELIB2, "CreateLib2" ); - aToolBox.SetHelpText( TB_CREATELIB2, "Create Libary LIB2" ); + aToolBox.SetHelpText( TB_CREATELIB2, "Create Library LIB2" ); aToolBox.InsertItem( TB_CREATELIB3, "CreateLib3" ); - aToolBox.SetHelpText( TB_CREATELIB3, "Create Libary LIB3" ); + aToolBox.SetHelpText( TB_CREATELIB3, "Create Library LIB3" ); aToolBox.InsertSeparator(); aToolBox.InsertItem( TB_LOADLIB1, "LoadLib1" ); - aToolBox.SetHelpText( TB_LOADLIB1, "Load Libary LIB1" ); + aToolBox.SetHelpText( TB_LOADLIB1, "Load Library LIB1" ); aToolBox.InsertItem( TB_LOADLIB2, "LoadLib2" ); - aToolBox.SetHelpText( TB_LOADLIB2, "Load Libary LIB2" ); + aToolBox.SetHelpText( TB_LOADLIB2, "Load Library LIB2" ); aToolBox.InsertItem( TB_LOADLIB3, "LoadLib3" ); - aToolBox.SetHelpText( TB_LOADLIB3, "Load Libary LIB3" ); + aToolBox.SetHelpText( TB_LOADLIB3, "Load Library LIB3" ); aToolBox.InsertSeparator(); aToolBox.InsertItem( TB_STORELIBX, "StoreLibX" ); - aToolBox.SetHelpText( TB_STORELIBX, "Store Libary LIBX" ); + aToolBox.SetHelpText( TB_STORELIBX, "Store Library LIBX" ); aToolBox.InsertItem( TB_UNLOADX, "UnloadX" ); - aToolBox.SetHelpText( TB_UNLOADX, "Unload Libary LIBX" ); + aToolBox.SetHelpText( TB_UNLOADX, "Unload Library LIBX" ); aToolBox.InsertItem( TB_LOADX, "LoadX" ); - aToolBox.SetHelpText( TB_LOADX, "Load Libary LIBX" ); + aToolBox.SetHelpText( TB_LOADX, "Load Library LIBX" ); aToolBox.InsertItem( TB_EXECX, "ExecX" ); aToolBox.SetHelpText( TB_EXECX, "Execute 'Libary' LIBX" ); aToolBox.InsertItem( TB_REMOVEX, "RemoveX" ); - aToolBox.SetHelpText( TB_REMOVEX, "Remove Libary LIBX" ); + aToolBox.SetHelpText( TB_REMOVEX, "Remove Library LIBX" ); aToolBox.InsertItem( TB_REMOVEDELX, "RemDelX" ); - aToolBox.SetHelpText( TB_REMOVEDELX, "Remove and delete Libary LIBX" ); + aToolBox.SetHelpText( TB_REMOVEDELX, "Remove and delete Library LIBX" ); pBasMgr = 0; |