From a0656ec6fc2b41e65f1b40dbd64f546175e2762f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 25 Mar 2021 09:53:33 +0300 Subject: 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 --- forms/source/component/Columns.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forms') diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx index 50a9e05875d6..3195fde4d44e 100644 --- a/forms/source/component/Columns.cxx +++ b/forms/source/component/Columns.cxx @@ -81,8 +81,8 @@ const css::uno::Sequence& getColumnTypes() 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 == FRM_COMPONENT_EDIT) -- cgit