unodevtools/source/unodevtools/options.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 449c9a9322a55113342e5a8de041a5ad7d646a9e Author: Stephan Bergmann <[email protected]> AuthorDate: Thu Oct 19 10:30:38 2023 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Oct 20 17:56:41 2023 +0200 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 <[email protected]> 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;
