bridges/source/cpp_uno/msvc_shared/except.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1f8c3839dfc7e633c74da905593821f7681e2e66 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Apr 17 08:49:20 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Apr 17 11:42:23 2023 +0200 loplugin:stringadd Change-Id: I10b450bccf27304530767cf80e0a6b04768cfc80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/bridges/source/cpp_uno/msvc_shared/except.cxx b/bridges/source/cpp_uno/msvc_shared/except.cxx index f76533fa160e..b68dd41d6bdc 100644 --- a/bridges/source/cpp_uno/msvc_shared/except.cxx +++ b/bridges/source/cpp_uno/msvc_shared/except.cxx @@ -75,8 +75,7 @@ static OUString toRTTIname(OUString const& rUNOname) noexcept while (nPos > 0) { sal_Int32 n = rUNOname.lastIndexOf('.', nPos); - aRet.append(rUNOname.subView(n + 1, nPos - n - 1)); - aRet.append('@'); + aRet.append(OUString::Concat(rUNOname.subView(n + 1, nPos - n - 1)) + "@"); nPos = n; } aRet.append('@');