diff options
Diffstat (limited to 'sd/source/core/stlsheet.cxx')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 6f0825770da2..373b8d105d25 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -161,7 +161,7 @@ void SdStyleSheet::SetApiName( const OUString& rApiName ) rtl::OUString SdStyleSheet::GetApiName() const { - if( msApiName.getLength() ) + if( !msApiName.isEmpty() ) return msApiName; else return GetName(); @@ -1011,7 +1011,7 @@ void SAL_CALL SdStyleSheet::setParentStyle( const OUString& rParentName ) throw SolarMutexGuard aGuard; throwIfDisposed(); - if( rParentName.getLength() ) + if( !rParentName.isEmpty() ) { const SfxStyles& rStyles = mxPool->GetStyles(); |