diff options
Diffstat (limited to 'bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx index 0961f618aada..385f5f5cb9ed 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx @@ -275,7 +275,7 @@ static OUString toUNOname( while (nPos > 0) { sal_Int32 n = aStr.lastIndexOf( '@', nPos ); - aRet.append( aStr, n +1, nPos -n -1 ); + aRet.append( aStr.copy( n +1, nPos -n -1 ) ); if (n >= 0) { aRet.append( '.' ); @@ -295,7 +295,7 @@ static OUString toRTTIname( while (nPos > 0) { sal_Int32 n = rUNOname.lastIndexOf( '.', nPos ); - aRet.append( rUNOname, n +1, nPos -n -1 ); + aRet.append( rUNOname.copy( n +1, nPos -n -1 ) ); aRet.append( '@' ); nPos = n; } |