diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |