diff options
Diffstat (limited to 'binaryurp/source/proxy.cxx')
-rw-r--r-- | binaryurp/source/proxy.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/binaryurp/source/proxy.cxx b/binaryurp/source/proxy.cxx index 955c6149eca7..b68898702b7f 100644 --- a/binaryurp/source/proxy.cxx +++ b/binaryurp/source/proxy.cxx @@ -109,10 +109,9 @@ void Proxy::do_dispatch( do_dispatch_throw(member, returnValue, arguments, exception); } catch (const std::exception & e) { throw css::uno::RuntimeException( - (OUString( - RTL_CONSTASCII_USTRINGPARAM("caught C++ exception: ")) + - rtl::OStringToOUString( - rtl::OString(e.what()), RTL_TEXTENCODING_ASCII_US)), + ("caught C++ exception: " + + rtl::OStringToOUString( + rtl::OString(e.what()), RTL_TEXTENCODING_ASCII_US)), css::uno::Reference< css::uno::XInterface >()); // best-effort string conversion } |