diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-10-01 12:50:37 +0200 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-10-03 13:43:44 +0000 |
commit | 8f9af8dd970d8e2a620beb35a6ce145d65d18df5 (patch) | |
tree | 524156dacadfb67a487480ae8e0dd6422676e847 /basic | |
parent | 0c29c153465f80085e0c4ec0fe36e42e10ed4fb4 (diff) |
Fix typos
Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1
Reviewed-on: https://gerrit.libreoffice.org/29430
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/parser.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index 70f210d16de3..1dda3110675a 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -606,7 +606,7 @@ void SbiParser::Set() SbiExpression aExpr( this ); aLvalue.Gen(); aExpr.Gen(); - // Its a good idea to distinguish between + // It's a good idea to distinguish between // set something = another & // something = another // ( its necessary for vba objects where set is object diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 6082437db846..643c1a28512a 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1034,7 +1034,7 @@ void SbiRuntime::TOSMakeTemp() pDflt->Broadcast( SBX_HINT_DATAWANTED ); // replacing new p on stack causes object pointed by // pDft->pParent to be deleted, when p2->Compute() is - // called below pParent is accessed ( but its deleted ) + // called below pParent is accessed (but it's deleted) // so set it to NULL now pDflt->SetParent( nullptr ); p = new SbxVariable( *pDflt ); @@ -1855,7 +1855,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b pObj = dynamic_cast<SbxObject*>( refVar.get() ); // calling GetObject on a SbxEMPTY variable raises - // object not set errors, make sure its an Object + // object not set errors, make sure it's an Object if ( !pObj && refVar->GetType() == SbxOBJECT ) { SbxBase* pObjVarObj = refVar->GetObject(); |