summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-17 08:49:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-17 11:42:23 +0200
commit1f8c3839dfc7e633c74da905593821f7681e2e66 (patch)
tree3d770b812b94d79acf6df3406441fd9a1486837a /bridges
parent1c8df0fd1ad896cbf7dfb08f2d70fa49e70c5106 (diff)
loplugin:stringadd
Change-Id: I10b450bccf27304530767cf80e0a6b04768cfc80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150468 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/msvc_shared/except.cxx3
1 files changed, 1 insertions, 2 deletions
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('@');