diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-01 14:04:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-04 15:12:32 +0200 |
commit | ac33020ea870fc137fd8ee80cbd6c79310b260ad (patch) | |
tree | 11e42e3e5de9505fffcedf3be3c56721a4eb8b43 /xmloff | |
parent | d6a363d83011ce3f195b96816e25dd749772cc24 (diff) |
tdf#137544 avoid some temporary OUString
Change-Id: I4db4d12261920c94bf632f07fc129e3d324dd22e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136805
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 3 |
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)); } } } |