diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2012-08-18 15:05:22 -0300 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-22 16:45:38 +0200 |
commit | e47fe5cc409b4df2ee3ae58ecf911c1e155bf2e7 (patch) | |
tree | ca84fedff1af17c7f42cea8c2ca3f4b74c41d0ee /binaryurp/source/incomingrequest.cxx | |
parent | 438f5023c3f22b521974c6a1bb4d53b59255b724 (diff) |
Change rtl::OUString to OUString
My first commit. Any problem, question, warnings, please tell me.
Change-Id: Ibb02fe15776f3ffe74ddb9488c63a45c447bb493
Diffstat (limited to 'binaryurp/source/incomingrequest.cxx')
-rw-r--r-- | binaryurp/source/incomingrequest.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/binaryurp/source/incomingrequest.cxx b/binaryurp/source/incomingrequest.cxx index 28402b449e52..391b0e4ad69b 100644 --- a/binaryurp/source/incomingrequest.cxx +++ b/binaryurp/source/incomingrequest.cxx @@ -48,7 +48,7 @@ namespace css = com::sun::star; IncomingRequest::IncomingRequest( rtl::Reference< Bridge > const & bridge, rtl::ByteSequence const & tid, - rtl::OUString const & oid, css::uno::UnoInterfaceReference const & object, + OUString const & oid, css::uno::UnoInterfaceReference const & object, css::uno::TypeDescription const & type, sal_uInt16 functionId, bool synchronous, css::uno::TypeDescription const & member, bool setter, std::vector< BinaryAny > const & inArguments, bool currentContextMode, @@ -80,7 +80,7 @@ void IncomingRequest::execute() const { isExc = !execute_throw(&ret, &outArgs); } catch (const std::exception & e) { throw css::uno::RuntimeException( - (rtl::OUString( + (OUString( RTL_CONSTASCII_USTRINGPARAM("caught C++ exception: ")) + rtl::OStringToOUString( rtl::OString(e.what()), RTL_TEXTENCODING_ASCII_US)), @@ -109,7 +109,7 @@ void IncomingRequest::execute() const { } catch (const css::uno::RuntimeException & e) { OSL_TRACE( OSL_LOG_PREFIX "caught UNO runtime exception '%s'", - (rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8). + (OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8). getStr())); } catch (const std::exception & e) { OSL_TRACE(OSL_LOG_PREFIX "caught C++ exception '%s'", e.what()); @@ -157,9 +157,9 @@ bool IncomingRequest::execute_throw( OSL_TRACE( (OSL_LOG_PREFIX "initial element '%s':" " NoSuchElementException '%s'"), - (rtl::OUStringToOString(oid_, RTL_TEXTENCODING_UTF8). + (OUStringToOString(oid_, RTL_TEXTENCODING_UTF8). getStr()), - (rtl::OUStringToOString( + (OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8). getStr())); } |