diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-04-25 17:01:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-04-25 23:58:46 +0200 |
commit | 67d8c245daf7c6ee33e908255f2bbd0ea8d08206 (patch) | |
tree | 578a039768490cdb0e9ead8863cefbfe5269fcd2 /bridges/source | |
parent | 8e77be57024fa9422db2dddce7c0c7ef4302a3c2 (diff) |
loplugin:stringview
Change-Id: I4bd3efe67217a4c4418cf308cc8e7a55cf4a604a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133390
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges/source')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_aarch64/abi.cxx | 3 |
1 files changed, 2 insertions, 1 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..ff50e62dd026 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> @@ -99,7 +100,7 @@ std::type_info * Rtti::getRtti(typelib_TypeDescription const & type) { for (sal_Int32 j = 0; j != -1;) { OString t( OUStringToOString( - unoName.getToken(0, '.', j), RTL_TEXTENCODING_ASCII_US)); + o3tl::getToken(unoName, 0, '.', j), RTL_TEXTENCODING_ASCII_US)); b.append(t.getLength()); b.append(t); } |