summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLBackgroundImageExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/XMLBackgroundImageExport.cxx')
-rw-r--r--xmloff/source/style/XMLBackgroundImageExport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/XMLBackgroundImageExport.cxx b/xmloff/source/style/XMLBackgroundImageExport.cxx
index 362c84af2792..4aaa340cab79 100644
--- a/xmloff/source/style/XMLBackgroundImageExport.cxx
+++ b/xmloff/source/style/XMLBackgroundImageExport.cxx
@@ -90,7 +90,7 @@ void XMLBackgroundImageExport::exportXML( const Any& rURL,
break;
}
- if( aOut.getLength() )
+ if( !aOut.isEmpty() )
{
aOut.append( sal_Unicode( ' ' ) );
@@ -115,7 +115,7 @@ void XMLBackgroundImageExport::exportXML( const Any& rURL,
break;
}
}
- if( aOut.getLength() )
+ if( !aOut.isEmpty() )
GetExport().AddAttribute( XML_NAMESPACE_STYLE,
XML_POSITION, aOut.makeStringAndClear() );
@@ -127,7 +127,7 @@ void XMLBackgroundImageExport::exportXML( const Any& rURL,
{
aOut.append( GetXMLToken(XML_BACKGROUND_NO_REPEAT) );
}
- if( aOut.getLength() )
+ if( !aOut.isEmpty() )
GetExport().AddAttribute( XML_NAMESPACE_STYLE, XML_REPEAT,
aOut.makeStringAndClear() );