From 96b85673146cb096932a520010d28e973620316c Mon Sep 17 00:00:00 2001 From: Arnaud VERSINI Date: Thu, 10 Sep 2026 12:22:03 +0200 Subject: [PATCH] [cpputools] Remove an useless OUString and use string_view instead Change-Id: I3276a5110d054df56a0fb4d364f3c26ceb395835 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210640 Tested-by: Jenkins Reviewed-by: Arnaud Versini --- cpputools/source/unoexe/unoexe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 0ed543ba0335..e20bc52d325a 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -89,7 +89,7 @@ const char arUsingText[] = static bool readOption( OUString * pValue, const char * pOpt, sal_uInt32 * pnIndex, const OUString & aArg) { - static constexpr OUString dash(u"-"_ustr); + static constexpr std::u16string_view dash(u"-"); if(!aArg.startsWith(dash)) return false;