summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xmloff/shapeexport.hxx1
-rw-r--r--xmloff/source/draw/shapeexport.cxx5
2 files changed, 2 insertions, 4 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index ce74b197637d..56588fa63ab1 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -186,7 +186,6 @@ private:
const OUString msPrintable;
const OUString msVisible;
- const OUString msEmptyPres;
const OUString msModel;
const OUString msStartShape;
const OUString msEndShape;
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index a22ee35cab26..3f269efd4e00 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -155,7 +155,6 @@ XMLShapeExport::XMLShapeExport(SvXMLExport& rExp,
msZIndex( "ZOrder" ),
msPrintable( "Printable" ),
msVisible( "Visible" ),
- msEmptyPres( "IsEmptyPresentationObject" ),
msModel( "Model" ),
msStartShape( "StartShape" ),
msEndShape( "EndShape" ),
@@ -308,9 +307,9 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
{
uno::Reference< beans::XPropertySetInfo > xPropSetInfo( xPropSet->getPropertySetInfo() );
- if( xPropSetInfo.is() && xPropSetInfo->hasPropertyByName(msEmptyPres) )
+ if( xPropSetInfo.is() && xPropSetInfo->hasPropertyByName("IsEmptyPresentationObject") )
{
- uno::Any aAny = xPropSet->getPropertyValue(msEmptyPres);
+ uno::Any aAny = xPropSet->getPropertyValue("IsEmptyPresentationObject");
aAny >>= bIsEmptyPresObj;
}