diff options
author | David Tardon <dtardon@redhat.com> | 2016-11-14 15:24:32 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-11-15 19:58:54 +0100 |
commit | 4ead110a8c574379545f9cf1d4a914c7bb43bc2a (patch) | |
tree | e0df2efb6040abedac5ef10ac3c4981ff1e178f5 | |
parent | 8397ce996c444de64cd94efa096b9b376aad393f (diff) |
remove prop. name variable
It is not used consistently anyway.
Change-Id: Ia842668dfb36dc2a8fbf3b938758b81c78d5c868
-rw-r--r-- | include/xmloff/shapeexport.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 5 |
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; } |