diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-14 14:33:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-14 19:12:33 +0200 |
commit | e00225bc7744abd365f1cc7133d43026e9438f13 (patch) | |
tree | 906d069a000fc71e215946cdb4c57f43949df784 /svx/source/unodraw | |
parent | 1aaf5d44dceecc13a3bc8e08c13d0b2ba278c462 (diff) |
elide some temporary OUStrings
Change-Id: I8539dd5d9490a14ebac0520486a8322ff86a6cb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137081
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 2280402dcb76..e559fe8b4b9f 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -143,8 +143,9 @@ namespace { class ShapePositionProvider : public PropertyValueProvider { public: + static constexpr OUStringLiteral sPosition = u"Position"; explicit ShapePositionProvider( SvxShape& _shape ) - :PropertyValueProvider( _shape, "Position" ) + :PropertyValueProvider( _shape, sPosition ) { } |