summaryrefslogtreecommitdiff
path: root/scripting/source/basprov
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/basprov
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/basprov')
-rw-r--r--scripting/source/basprov/basmethnode.cxx2
-rw-r--r--scripting/source/basprov/basscript.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx
index 168d297e48de..f26e4c9a931b 100644
--- a/scripting/source/basprov/basmethnode.cxx
+++ b/scripting/source/basprov/basmethnode.cxx
@@ -45,7 +45,7 @@ using namespace ::sf_misc;
#define BASPROV_PROPERTY_ID_EDITABLE 2
constexpr OUStringLiteral BASPROV_PROPERTY_URI = u"URI";
-constexpr OUStringLiteral BASPROV_PROPERTY_EDITABLE = u"Editable";
+constexpr OUString BASPROV_PROPERTY_EDITABLE = u"Editable"_ustr;
#define BASPROV_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx
index f3ab8d2dd224..de50f62e11de 100644
--- a/scripting/source/basprov/basscript.cxx
+++ b/scripting/source/basprov/basscript.cxx
@@ -45,7 +45,7 @@ namespace basprov
{
#define BASSCRIPT_PROPERTY_ID_CALLER 1
-constexpr OUStringLiteral BASSCRIPT_PROPERTY_CALLER = u"Caller";
+constexpr OUString BASSCRIPT_PROPERTY_CALLER = u"Caller"_ustr;
#define BASSCRIPT_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT