OUString and RTL_CONSTASCII cleanup

Change-Id: Ic56451b2c13d8561bb6e6ee92bf9147b35640a5c
This commit is contained in:
Ricardo Montania
2012-09-05 00:15:25 -03:00
committed by Stephan Bergmann
parent a82e532ce0
commit a60f911214
10 changed files with 99 additions and 221 deletions

View File

@@ -80,8 +80,7 @@ void IncomingRequest::execute() const {
isExc = !execute_throw(&ret, &outArgs);
} catch (const std::exception & e) {
throw css::uno::RuntimeException(
(OUString(
RTL_CONSTASCII_USTRINGPARAM("caught C++ exception: ")) +
("caught C++ exception: " +
rtl::OStringToOUString(
rtl::OString(e.what()), RTL_TEXTENCODING_ASCII_US)),
css::uno::Reference< css::uno::XInterface >());