summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-19 19:31:34 +0200
commit3afe381c840f3c3687800410066d6738191c7480 (patch)
treedac5b2a1f01337348ebb089f8ef2b2c7d9f8cce6 /cpputools
parent566de3328e60b2608b8f611698b6d26fc33b05f1 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: cpputools
Change-Id: I285ed755d35394dfb4f970dd7442ae156e3baa43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158185 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 9f2e233cdd7b..c6e5f0966c6c 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -90,7 +90,7 @@ const char arUsingText[] =
static bool readOption( OUString * pValue, const char * pOpt,
sal_uInt32 * pnIndex, const OUString & aArg)
{
- static constexpr OUStringLiteral dash(u"-");
+ static constexpr OUString dash(u"-"_ustr);
if(!aArg.startsWith(dash))
return false;