diff options
Diffstat (limited to 'xmloff/source/draw/shapeexport2.cxx')
-rw-r--r-- | xmloff/source/draw/shapeexport2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx index ed791e5ff295..f3b11f5fa458 100644 --- a/xmloff/source/draw/shapeexport2.cxx +++ b/xmloff/source/draw/shapeexport2.cxx @@ -1114,10 +1114,10 @@ void XMLShapeExport::ImpExportGraphicObjectShape( if( !bIsEmptyPresObj ) { OUString aReplacementUrl; - xPropSet->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("ReplacementGraphicURL"))) >>= aReplacementUrl; + xPropSet->getPropertyValue( OUString("ReplacementGraphicURL")) >>= aReplacementUrl; // If there is no url, then then graphic is empty - if(aReplacementUrl.getLength()) + if(!aReplacementUrl.isEmpty()) { const OUString aStr = mrExport.AddEmbeddedGraphicObject(aReplacementUrl); |