summaryrefslogtreecommitdiff
path: root/xmloff/source/style/FillStyleContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/FillStyleContext.cxx')
-rw-r--r--xmloff/source/style/FillStyleContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/FillStyleContext.cxx b/xmloff/source/style/FillStyleContext.cxx
index 9f1947ac992a..03f54e5328c3 100644
--- a/xmloff/source/style/FillStyleContext.cxx
+++ b/xmloff/source/style/FillStyleContext.cxx
@@ -164,7 +164,7 @@ SvXMLImportContext* XMLBitmapStyleContext::CreateChildContext( sal_uInt16 nPrefi
{
OUString sURL;
maAny >>= sURL;
- if( !sURL.getLength() && !mxBase64Stream.is() )
+ if( sURL.isEmpty() && !mxBase64Stream.is() )
{
mxBase64Stream = GetImport().GetStreamForGraphicObjectURLFromBase64();
if( mxBase64Stream.is() )
@@ -186,7 +186,7 @@ void XMLBitmapStyleContext::EndElement()
OUString sURL;
maAny >>= sURL;
- if( !sURL.getLength() && mxBase64Stream.is() )
+ if( sURL.isEmpty() && mxBase64Stream.is() )
{
sURL = GetImport().ResolveGraphicObjectURLFromBase64( mxBase64Stream );
mxBase64Stream = 0;