diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-06 19:12:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-06 19:13:21 +0300 |
commit | db77d9700e1301c7cb47a76721639dd4c7829f31 (patch) | |
tree | ed1ef0dd3916b0f3912571f672f3e425d2b6aa5a /sfx2 | |
parent | c4f58395bd1f36a3ff4e2dd514907c74c86112b5 (diff) |
WaE: unused variable 'pFilt'
Change-Id: I58bacc42d9b596ffef62237d0554fb0a3bff50a1
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index cfd21cfdb76e..b2747f4e6feb 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -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 |