summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeimport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 930051b2aeec..1a21953f39ff 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -466,7 +466,8 @@ void XMLShapeImportHelper::addShape( uno::Reference< drawing::XShape >& rShape,
uno::Reference<beans::XPropertySet> xPropertySet(rShape, uno::UNO_QUERY);
if (xPropertySet.is())
{
- xPropertySet->setPropertyValue("HandlePathObjScale", uno::Any(true));
+ static constexpr OUStringLiteral sHandlePathObjScale = u"HandlePathObjScale";
+ xPropertySet->setPropertyValue(sHandlePathObjScale, uno::Any(true));
}
}
}