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:
@@ -81,7 +81,7 @@ ScDocShell* GetDocShellFromRange( const uno::Reference< uno::XInterface >& xRang
|
||||
ScCellRangesBase* pScCellRangesBase = ScCellRangesBase::getImplementation( xRange );
|
||||
if ( !pScCellRangesBase )
|
||||
{
|
||||
throw uno::RuntimeException("Failed to access underlying doc shell uno range object", uno::Reference< uno::XInterface >() );
|
||||
throw uno::RuntimeException("Failed to access underlying doc shell uno range object" );
|
||||
}
|
||||
return pScCellRangesBase->GetDocShell();
|
||||
}
|
||||
|
Reference in New Issue
Block a user