summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-14 15:24:32 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-15 19:58:54 +0100
commit4ead110a8c574379545f9cf1d4a914c7bb43bc2a (patch)
treee0df2efb6040abedac5ef10ac3c4981ff1e178f5 /xmloff
parent8397ce996c444de64cd94efa096b9b376aad393f (diff)
remove prop. name variable
It is not used consistently anyway. Change-Id: Ia842668dfb36dc2a8fbf3b938758b81c78d5c868
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx5
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;
}