summaryrefslogtreecommitdiff
path: root/sd/source/filter/xml
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-08 09:52:25 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-10 23:08:01 -0200
commitdb08c1ac5ed566fbec4d2ce8345ed483fa8bf9ab (patch)
treebc321e6f2f15c95b3bba78f1e2f8514f0eeb894a /sd/source/filter/xml
parent5e7d38fe5b8115fe4860fe3e8a77d298cf67391b (diff)
Fix for fdo43460 Part XXXI getLength() to isEmpty()
Part XXXI Modules sd
Diffstat (limited to 'sd/source/filter/xml')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx6
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 ) );