diff options
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx index d5711a5e7ac8..cbf45bb094d2 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx @@ -239,9 +239,9 @@ static void cpp_call( throw; } catch (const std::exception & e) { OUStringBuffer buf; - buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("C++ code threw ")); + buf.append("C++ code threw "); appendCString(buf, typeid(e).name()); - buf.appendAscii(RTL_CONSTASCII_STRINGPARAM(": ")); + buf.append(": "); appendCString(buf, e.what()); throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface >()); |