summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-24 09:58:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-24 13:13:00 +0200
commitb4ae96a261ccb7bbaaa2f7bc844a6a0e973755d5 (patch)
tree84e0ddb4018b93808800596fc0ef6d4583d9a91e /ucbhelper
parente8f2ccb42014b5eccabd42e5f95190be9e8f4519 (diff)
elide some OUString allocation
Change-Id: I29df28792eb413005a85235fce7295320798ae65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134859 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 7f3268c41754..4eeeab2008d6 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -491,8 +491,9 @@ Reference< XRow > Content::getPropertyValuesInterface(
// rProp.Attributes = ;
}
+ static constexpr OUStringLiteral sgetPropertyValues = u"getPropertyValues";
Command aCommand;
- aCommand.Name = "getPropertyValues";
+ aCommand.Name = sgetPropertyValues;
aCommand.Handle = -1; // n/a
aCommand.Argument <<= aProps;