diff options
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/jni_uno/jni_info.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx index 16a5a1ac4d5c..81ad9323de48 100644 --- a/bridges/source/jni_uno/jni_info.cxx +++ b/bridges/source/jni_uno/jni_info.cxx @@ -243,12 +243,12 @@ JNI_compound_type_info::JNI_compound_type_info( OUString::unacquired( &td->aBase.pTypeName ); // Erase type arguments of instantiated polymorphic struct types: - OUString nucleus; + std::u16string_view nucleus; sal_Int32 i = uno_name.indexOf( '<' ); if ( i < 0 ) { nucleus = uno_name; } else { - nucleus = uno_name.copy( 0, i ); + nucleus = uno_name.subView( 0, i ); } JLocalAutoRef jo_class( jni, |