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:
@@ -197,9 +197,8 @@ void OComponentHelper::dispose()
|
||||
catch (Exception & exc)
|
||||
{
|
||||
throw RuntimeException(
|
||||
OUString(
|
||||
"unexpected UNO exception caught: ") +
|
||||
exc.Message, Reference< XInterface >() );
|
||||
OUString("unexpected UNO exception caught: ") +
|
||||
exc.Message );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user