summaryrefslogtreecommitdiff
path: root/o3tl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-19 20:40:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-20 07:27:41 +0100
commitfa7dd627c9d74f5bf584caddbdc32c7a0f3543a1 (patch)
tree93967edde61cfbf44a8582cf56f881dc44055d3a /o3tl
parentf8087b516ac1b000ca0454682d865340e790915a (diff)
Extended loplugin:ostr: o3tl
Change-Id: Iac716011fd421c6dd0d40cf81dc6cbebb1ae4e71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159693 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'o3tl')
-rw-r--r--o3tl/qa/test-string_view.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/o3tl/qa/test-string_view.cxx b/o3tl/qa/test-string_view.cxx
index 021c8decf431..f32537aa3596 100644
--- a/o3tl/qa/test-string_view.cxx
+++ b/o3tl/qa/test-string_view.cxx
@@ -30,12 +30,12 @@ CppUnit::assertion_traits<std::u16string_view>::toString(std::u16string_view con
namespace
{
OString ostringEmpty() { return {}; } // avoid loplugin:stringview
-OString ostringDoof() { return "doof"; } // avoid loplugin:stringview
-OString ostringFoo() { return "foo"; } // avoid loplugin:stringview
-OString ostringFoobars() { return "foobars"; } // avoid loplugin:stringview
-OString ostringFood() { return "food"; } // avoid loplugin:stringview
-OString ostringOof() { return "oof"; } // avoid loplugin:stringview
-OString ostringSraboof() { return "sraboof"; } // avoid loplugin:stringview
+OString ostringDoof() { return "doof"_ostr; } // avoid loplugin:stringview
+OString ostringFoo() { return "foo"_ostr; } // avoid loplugin:stringview
+OString ostringFoobars() { return "foobars"_ostr; } // avoid loplugin:stringview
+OString ostringFood() { return "food"_ostr; } // avoid loplugin:stringview
+OString ostringOof() { return "oof"_ostr; } // avoid loplugin:stringview
+OString ostringSraboof() { return "sraboof"_ostr; } // avoid loplugin:stringview
OUString oustringEmpty() { return {}; } // avoid loplugin:stringview
OUString oustringDoof() { return "doof"; } // avoid loplugin:stringview
OUString oustringFoo() { return "foo"; } // avoid loplugin:stringview