diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-05 10:12:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-05 10:12:40 +0200 |
commit | 7a7a2c5495e9e03181843c327a0c28fd6e5e88bd (patch) | |
tree | 33b457dcc9ea71e5b38d7c7c6a5a0b064d8395bf /binaryurp/source/incomingrequest.cxx | |
parent | OUString and RTL_CONSTASCII cleanup (diff) | |
download | core-7a7a2c5495e9e03181843c327a0c28fd6e5e88bd.tar.gz core-7a7a2c5495e9e03181843c327a0c28fd6e5e88bd.zip |
Cosmetics
Change-Id: I7b217c4fb48bbee4a2872d15cf23a955b464ffca
Diffstat (limited to 'binaryurp/source/incomingrequest.cxx')
-rw-r--r-- | binaryurp/source/incomingrequest.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/binaryurp/source/incomingrequest.cxx b/binaryurp/source/incomingrequest.cxx index ffe33e2da655..b156196d040c 100644 --- a/binaryurp/source/incomingrequest.cxx +++ b/binaryurp/source/incomingrequest.cxx @@ -81,8 +81,8 @@ void IncomingRequest::execute() const { } catch (const std::exception & e) { throw css::uno::RuntimeException( ("caught C++ exception: " + - rtl::OStringToOUString( - rtl::OString(e.what()), RTL_TEXTENCODING_ASCII_US)), + OStringToOUString( + OString(e.what()), RTL_TEXTENCODING_ASCII_US)), css::uno::Reference< css::uno::XInterface >()); // best-effort string conversion } @@ -156,10 +156,8 @@ bool IncomingRequest::execute_throw( OSL_TRACE( (OSL_LOG_PREFIX "initial element '%s':" " NoSuchElementException '%s'"), - (OUStringToOString(oid_, RTL_TEXTENCODING_UTF8). - getStr()), - (OUStringToOString( - e.Message, RTL_TEXTENCODING_UTF8). + OUStringToOString(oid_, RTL_TEXTENCODING_UTF8).getStr(), + (OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8). getStr())); } } |