summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/parser.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx4
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();