summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-03-25 09:53:33 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-03-25 10:06:26 +0100
commita0656ec6fc2b41e65f1b40dbd64f546175e2762f (patch)
treec0d3443a27d9dc10266760110e96b50cce46ef02 /svx/source/fmcomp
parente9c6fd6b4d09ee59b6a86942cbf001f2ba9782e6 (diff)
const OUString -> const OUStringLiteral
Mostly automated rewrite Change-Id: Ie020a083f898bc126b8fb039d4ecb2e687172da1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112965 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/gridcols.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/gridcols.cxx b/svx/source/fmcomp/gridcols.cxx
index 1e44ece8973d..e937c08a6b33 100644
--- a/svx/source/fmcomp/gridcols.cxx
+++ b/svx/source/fmcomp/gridcols.cxx
@@ -76,8 +76,8 @@ namespace
sal_Int32 getColumnTypeByModelName(const OUString& aModelName)
{
- const OUString aModelPrefix("com.sun.star.form.component.");
- const OUString aCompatibleModelPrefix("stardiv.one.form.component.");
+ static const OUStringLiteral aModelPrefix(u"com.sun.star.form.component.");
+ static const OUStringLiteral aCompatibleModelPrefix(u"stardiv.one.form.component.");
sal_Int32 nTypeId = -1;
if (aModelName == FM_COMPONENT_EDIT)