diff options
Diffstat (limited to 'sd/source/filter/xml/sdxmlwrp.cxx')
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 2f490ed8fbcb..388774744bc9 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -643,7 +643,7 @@ sal_Bool SdXMLFilter::Import( ErrCode& nError ) else aName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "dummyObjectName" )); - if( aName.getLength() ) + if( !aName.isEmpty() ) { const OUString sStreamRelPath(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath")); xInfoSet->setPropertyValue( sStreamRelPath, Any( aName ) ); @@ -813,7 +813,7 @@ sal_Bool SdXMLFilter::Import( ErrCode& nError ) if( (nRet == 0) ) { - if( sBuildId.getLength() ) + if( !sBuildId.isEmpty() ) { sal_Int32 nIndex = sBuildId.indexOf('$'); if( nIndex != -1 ) @@ -966,7 +966,7 @@ sal_Bool SdXMLFilter::Export() aName = pDocHierarchItem->GetValue(); } - if( aName.getLength() ) + if( !aName.isEmpty() ) { sPropName = OUString(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath")); xInfoSet->setPropertyValue( sPropName, makeAny( aName ) ); |