diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-19 20:40:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-20 07:27:41 +0100 |
commit | fa7dd627c9d74f5bf584caddbdc32c7a0f3543a1 (patch) | |
tree | 93967edde61cfbf44a8582cf56f881dc44055d3a /o3tl | |
parent | f8087b516ac1b000ca0454682d865340e790915a (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.cxx | 12 |
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 |