compilerplugins/clang/stringview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3b35199a1b5e860b17ace504ae2e99248e37fc63 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Oct 13 17:17:40 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Oct 13 19:23:18 2022 +0200 Drop now-redundant %select ...after 3d236177be255b2027a997bfc12fe0833ca9a2f7 "Deduplicate O(U)StringConcatenation" Change-Id: Ib45d021da2bb5745055fa0cdebfd700680bfb787 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141304 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/stringview.cxx b/compilerplugins/clang/stringview.cxx index 16e53b1c12e9..6c1ec077bce5 100644 --- a/compilerplugins/clang/stringview.cxx +++ b/compilerplugins/clang/stringview.cxx @@ -269,7 +269,7 @@ void StringView::handleCXXConstructExpr(CXXConstructExpr const* expr) "instead of an %0%select{| constructed from a %2}1, pass a" " '%select{std::string_view|std::u16string_view}3'" "%select{| (or an '%select{rtl::OStringChar|rtl::OUStringChar}3')|" - " via '%select{rtl::Concat2View|rtl::Concat2View}3'}4", + " via 'rtl::Concat2View'}4", expr->getExprLoc()) << expr->getType() << (argType.isNull() ? 0 : 1) << argType << (loplugin::TypeCheck(expr->getType()).Class("OString").Namespace("rtl").GlobalNamespace()