Kaydet (Commit) db77d970 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused variable 'pFilt'

Change-Id: I58bacc42d9b596ffef62237d0554fb0a3bff50a1
üst c4f58395
......@@ -687,9 +687,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
SFX_REQUEST_ARG( rReq, pFilterNameItem, SfxStringItem, SID_FILTER_NAME, sal_False );
OUString aFilterName = pFilterNameItem ? OUString( pFilterNameItem->GetValue() )
: OUString();
const SfxFilter* pFilt = GetFactory().GetFilterContainer()->GetFilter4FilterName( aFilterName );
OSL_ENSURE( nId == SID_SAVEDOC || pFilt, "The filter can not be zero since it was used for storing!\n" );
// the StoreAsURL/StoreToURL method have called this method with false
// so it has to be restored to true here since it is a call from GUI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment