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:
Noel Grandin
2014-05-23 12:03:21 +02:00
parent c5d47c327a
commit e7bc3cab01
253 changed files with 1399 additions and 2111 deletions

View File

@@ -156,7 +156,7 @@ uno::Reference< text::XText > getCurrentXText( const uno::Reference< frame::XMod
}
if( !xText.is() )
throw uno::RuntimeException("no text selection", uno::Reference< uno::XInterface >() );
throw uno::RuntimeException("no text selection" );
return xText;
}