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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user