diff options
Diffstat (limited to 'basic/source/sbx/sbxvar.cxx')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index ff8c7e07fccc..27766dfc7fd4 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -148,7 +148,7 @@ SfxBroadcaster& SbxVariable::GetBroadcaster() SbxArray* SbxVariable::GetParameters() const { - return mpPar; + return mpPar.get(); } @@ -199,7 +199,7 @@ void SbxVariable::Broadcast( sal_uInt32 nHintId ) SbxInfo* SbxVariable::GetInfo() { - if( !pInfo ) + if( !pInfo.Is() ) { Broadcast( SBX_HINT_INFOWANTED ); if( pInfo.Is() ) @@ -207,7 +207,7 @@ SbxInfo* SbxVariable::GetInfo() SetModified( true ); } } - return pInfo; + return pInfo.get(); } void SbxVariable::SetInfo( SbxInfo* p ) @@ -239,7 +239,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const // Request parameter-information (not for objects) const_cast<SbxVariable*>(this)->GetInfo(); // Append nothing, if it is a simple property (no empty brackets) - if (!pInfo || (pInfo->m_Params.empty() && GetClass() == SbxClassType::Property)) + if (!pInfo.Is() || (pInfo->m_Params.empty() && GetClass() == SbxClassType::Property)) { return maName; } |