diff options
Diffstat (limited to 'bridges/source/cpp_uno/msvc_win32_intel/except.cxx')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx index 4f761ef3ed20..9f7bc81d71d1 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx @@ -52,7 +52,7 @@ static inline OUString toUNOname( OUString const & rRTTIname ) throw () while (nPos > 0) { sal_Int32 n = aStr.lastIndexOf( '@', nPos ); - aRet.append( aStr.copy( n +1, nPos -n -1 ) ); + aRet.append( aStr, n +1, nPos -n -1 ); if (n >= 0) { aRet.append( '.' ); @@ -70,7 +70,7 @@ static inline OUString toRTTIname( OUString const & rUNOname ) throw () while (nPos > 0) { sal_Int32 n = rUNOname.lastIndexOf( '.', nPos ); - aRet.append( rUNOname.copy( n +1, nPos -n -1 ) ); + aRet.append( rUNOname, n +1, nPos -n -1 ); aRet.append( '@' ); nPos = n; } |