summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 17:56:41 +0200
commit449c9a9322a55113342e5a8de041a5ad7d646a9e (patch)
tree5fe47d6f89ef8616178f9c485c0654a493b0efdb /unodevtools
parent2cbf54efab073d9147e2d6c627c8ff3726de8578 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: unodevtools
Change-Id: I21dd038249b506ecc58a7002fd3dcd4366176b52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158248 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/unodevtools/options.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/unodevtools/options.cxx b/unodevtools/source/unodevtools/options.cxx
index 4d0c3a51cd7c..523eaac7806e 100644
--- a/unodevtools/source/unodevtools/options.cxx
+++ b/unodevtools/source/unodevtools/options.cxx
@@ -31,7 +31,7 @@ namespace unodevtools {
bool readOption( OUString * pValue, const char * pOpt,
sal_uInt32 * pnIndex, std::u16string_view aArg)
{
- static constexpr OUStringLiteral dash = u"-";
+ static constexpr OUString dash = u"-"_ustr;
if(aArg.find(dash) != 0)
return false;