diff options
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 846b6c5765e2..3baba08b2f8a 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1597,8 +1597,8 @@ static bool checkUnoStructCopy( bool bVBA, SbxVariableRef const & refVal, SbxVar SbUnoObject* pUnoVal = dynamic_cast<SbUnoObject*>( xValObj.get() ); SbUnoStructRefObject* pUnoStructVal = dynamic_cast<SbUnoStructRefObject*>( xValObj.get() ); Any aAny; - // make doubly sure value is either an Uno object or - // an uno struct + // make doubly sure value is either a Uno object or + // a uno struct if ( pUnoVal || pUnoStructVal ) aAny = pUnoVal ? pUnoVal->getUnoAny() : pUnoStructVal->getUnoAny(); else @@ -3397,7 +3397,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt } } - // #62939 If an uno-class has been found, the wrapper + // #62939 If a uno-class has been found, the wrapper // object has to be held, because the uno-class, e. g. // "stardiv", has to be read out of the registry // every time again otherwise @@ -3782,7 +3782,7 @@ SbxVariable* SbiRuntime::CheckArray( SbxVariable* pElem ) pPar = pElem->GetParameters(); if ( pPar ) { - // is it an uno-object? + // is it a uno-object? SbxBaseRef pObj = pElem->GetObject(); if( pObj.is() ) { |