remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
This commit is contained in:
@@ -74,10 +74,9 @@ void IncomingRequest::execute() const {
|
||||
isExc = !execute_throw(&ret, &outArgs);
|
||||
} catch (const std::exception & e) {
|
||||
throw css::uno::RuntimeException(
|
||||
("caught C++ exception: " +
|
||||
OStringToOUString(
|
||||
OString(e.what()), RTL_TEXTENCODING_ASCII_US)),
|
||||
css::uno::Reference< css::uno::XInterface >());
|
||||
"caught C++ exception: " +
|
||||
OStringToOUString(
|
||||
OString(e.what()), RTL_TEXTENCODING_ASCII_US));
|
||||
// best-effort string conversion
|
||||
}
|
||||
} catch (const css::uno::RuntimeException &) {
|
||||
|
Reference in New Issue
Block a user