From 92e60e1b80a391864314c2270d2d9fcd9da3d9ee Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 4 Jan 2016 12:37:59 +0100 Subject: Fix typos Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727 Reviewed-on: https://gerrit.libreoffice.org/21103 Reviewed-by: Andras Timar Tested-by: Andras Timar --- basic/inc/sbxbase.hxx | 2 +- basic/source/classes/sb.cxx | 2 +- basic/source/classes/sbxmod.cxx | 4 ++-- basic/source/comp/loops.cxx | 2 +- basic/source/runtime/methods1.cxx | 2 +- basic/source/runtime/runtime.cxx | 2 +- basic/source/uno/scriptcont.cxx | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'basic') diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx index 3128361392c0..ad10d61e721f 100644 --- a/basic/inc/sbxbase.hxx +++ b/basic/inc/sbxbase.hxx @@ -43,7 +43,7 @@ struct SbxAppData SbxBasicFormater *pBasicFormater; // Pointer to Format()-Command helper class LanguageType eBasicFormaterLangType; - // It might be useful to store this class 'global' because some string reosurces are saved here + // It might be useful to store this class 'global' because some string resources are saved here SbxAppData(); ~SbxAppData(); diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 60d2b02d7062..41e9ab0c12e2 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1636,7 +1636,7 @@ void StarBASIC::MakeErrorText( SbError nId, const OUString& aMsg ) SolarMutexGuard aSolarGuard; sal_uInt16 nOldID = GetVBErrorCode( nId ); - // intantiate the help class + // instantiate the help class BasResId aId( RID_BASIC_START ); BasicStringList_Impl aMyStringList( aId, sal_uInt16(nId & ERRCODE_RES_MASK) ); diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 55d9a65523e4..2834dd23a6b0 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1420,7 +1420,7 @@ void SbModule::GlobalRunInit( bool bBasicStart ) // Initialise GlobalInitErr-Flag for Compiler-Error // With the help of this flags could be located in SbModule::Run() after the call of - // GlobalRunInit, if at the intialising of the module + // GlobalRunInit, if at the initialising of the module // an error occurred. Then it will not be launched. GetSbData()->bGlobalInitErr = false; @@ -2428,7 +2428,7 @@ public: virtual void SAL_CALL documentEventOccured( const document::DocumentEvent& rEvent ) throw (uno::RuntimeException, std::exception) override { - // early dosposing on document event "OnUnload", to be sure Basic still exists when calling VBA "UserForm_Terminate" + // early disposing on document event "OnUnload", to be sure Basic still exists when calling VBA "UserForm_Terminate" if( rEvent.EventName == GlobalEventConfig::GetEventName( GlobalEventId::CLOSEDOC ) ) { removeListener(); diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index fb9680d95cb7..92a4fcbb496d 100644 --- a/basic/source/comp/loops.cxx +++ b/basic/source/comp/loops.cxx @@ -209,7 +209,7 @@ void SbiParser::For() { TestToken( _IN_ ); SbiExpression aCollExpr( this, SbOPERAND ); - aCollExpr.Gen(); // Colletion var to for stack + aCollExpr.Gen(); // Collection var to for stack TestEoln(); aGen.Gen( _INITFOREACH ); } diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 1f386376a7fc..2acff3508447 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -896,7 +896,7 @@ RTLFUNC(DimArray) /* * FindObject and FindPropertyObject make it possible to * address objects and properties of the type Object with - * their name as string-pararmeters at the runtime. + * their name as string-parameters at the runtime. * * Example: * MyObj.Prop1.Bla = 5 diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index e1fd7686ef9f..36e82c146d4c 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1866,7 +1866,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b // SbxVariable* defaultProp = NULL; unused variable // LHS try determine if a default prop exists // again like in StepPUT (see there too ) we are tweaking the - // heursitics again for when to assign an object reference or + // heuristics again for when to assign an object reference or // use default memebers if they exists // #FIXME we really need to get to the bottom of this mess bool bObjAssign = false; diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index f3be73ff5a6e..f548c0ad0c79 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -307,7 +307,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement } catch(const uno::Exception&) { - OSL_TRACE("Failed to get documument object for %s", OUStringToOString( aElementName, RTL_TEXTENCODING_UTF8 ).getStr() ); + OSL_TRACE("Failed to get document object for %s", OUStringToOString( aElementName, RTL_TEXTENCODING_UTF8 ).getStr() ); } } } -- cgit v1.2.3