summaryrefslogtreecommitdiff
path: root/scripting/source/provider
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 18:42:47 +0200
commit7c59c59a0b6abee5d2c147139a79051a190939aa (patch)
treeed8ded3dc473cc2776bd450df8f124e7bb898939 /scripting/source/provider
parent9ef3adb3b83824e5b5a539c5886ba59df744bfaa (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: scripting
Change-Id: I74516d08ed48f2c9f4a0d4e105c96f95c127485b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158218 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scripting/source/provider')
-rw-r--r--scripting/source/provider/URIHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index 5333bee34da4..4b122da8b1d7 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -34,14 +34,14 @@ namespace ucb = ::com::sun::star::ucb;
namespace lang = ::com::sun::star::lang;
namespace uri = ::com::sun::star::uri;
-constexpr OUStringLiteral SHARE = u"share";
+constexpr OUString SHARE = u"share"_ustr;
constexpr OUStringLiteral SHARE_UNO_PACKAGES_URI =
u"vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE";
-constexpr OUStringLiteral USER = u"user";
-constexpr OUStringLiteral USER_URI =
- u"vnd.sun.star.expand:${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}";
+constexpr OUString USER = u"user"_ustr;
+constexpr OUString USER_URI =
+ u"vnd.sun.star.expand:${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}"_ustr;