summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-26 15:58:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-26 17:49:10 +0200
commitf88f82233df696bb8b5e6294ad448e4eb20e8270 (patch)
tree4147a5b20d7736ae6642e25de03ce2bcb5bd637c /xmloff
parent35aded0e43c74f920dfa6960323506599257264e (diff)
simplify
Change-Id: Iecb9ea0106cf57ef3c873d3a62407a3da5706d92
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpshap.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 637790a42c7f..f1fd887e64e4 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -3904,10 +3904,8 @@ void SdXMLCustomShapeContext::EndElement()
if(xPropSet.is())
{
- const OUString sFlushCustomShapeUnoApiObjects("FlushCustomShapeUnoApiObjects");
- uno::Any aAny;
- aAny <<= true;
- xPropSet->setPropertyValue(sFlushCustomShapeUnoApiObjects, aAny);
+ xPropSet->setPropertyValue(
+ "FlushCustomShapeUnoApiObjects", css::uno::Any(true));
}
}
catch(const uno::Exception&)