bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit fe0fbb166233b53d43e1eab61d110c37bac2fb5a Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Apr 11 15:58:09 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Apr 11 20:44:42 2023 +0200 loplugin:stringadd Change-Id: Ib35058e0e8d1708c29f4fe727eda05f5a6de4ab4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150232 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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());