summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-23 11:04:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-23 15:25:42 +0200
commit0a1bfe1e3fb298d7d7e2cfd85887d430cce59238 (patch)
treef38008d197ecb7cf1b8782fdb8ffdb1aac5edbcb /ucbhelper
parente1b3a6edd4b3400c25aa135d75bd1ad19b279609 (diff)
elide some OUString allocation
Change-Id: I5f0b9057b86ec98b66b4ce2d6c681b8cb93d49e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134802 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 948c4848c6f4..7f3268c41754 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -416,8 +416,9 @@ Reference< XCommandInfo > Content::getCommands()
Reference< XPropertySetInfo > Content::getProperties()
{
+ static constexpr OUStringLiteral sgetPropertySetInfo = u"getPropertySetInfo";
Command aCommand;
- aCommand.Name = "getPropertySetInfo";
+ aCommand.Name = sgetPropertySetInfo;
aCommand.Handle = -1; // n/a
aCommand.Argument = Any();