diff options
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx index 8db8c37140e5..dcd27e95ae30 100644 --- a/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/genfunc.h> +#include <o3tl/string_view.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> @@ -94,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( - unoName.getToken(0, '.', j), RTL_TEXTENCODING_ASCII_US)); - b.append(t.getLength()); - b.append(t); + o3tl::getToken(unoName, 0, '.', j), RTL_TEXTENCODING_ASCII_US)); + b.append(OString::number(t.getLength()) + t); } b.append('E'); OString sym(b.makeStringAndClear()); |