summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-11 15:58:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-11 20:44:42 +0200
commitfe0fbb166233b53d43e1eab61d110c37bac2fb5a (patch)
tree527cf583c55ff325ced200061475eb24bff1295f /bridges
parent5b6ed0abb8279a0b2858dad60435cb2494887014 (diff)
loplugin:stringadd
Change-Id: Ib35058e0e8d1708c29f4fe727eda05f5a6de4ab4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150232 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
index ff50e62dd026..dcd27e95ae30 100644
--- a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx
@@ -95,14 +95,12 @@ std::type_info * Rtti::getRtti(typelib_TypeDescription const & type) {
osl::MutexGuard g(mutex_);
Map::iterator i(map_.find(unoName));
if (i == map_.end()) {
- OStringBuffer b;
- b.append("_ZTIN");
+ OStringBuffer b("_ZTIN");
for (sal_Int32 j = 0; j != -1;) {
OString t(
OUStringToOString(
o3tl::getToken(unoName, 0, '.', j), RTL_TEXTENCODING_ASCII_US));
- b.append(t.getLength());
- b.append(t);
+ b.append(OString::number(t.getLength()) + t);
}
b.append('E');
OString sym(b.makeStringAndClear());