summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt/iodetect.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-10 10:43:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-10 11:21:12 +0000
commit4a8a30f941ea4324e6319db0d92e5290e9be225d (patch)
treea6319822803e2a1be3bfafbb0f0d2a58e00b79e5 /sw/source/filter/basflt/iodetect.cxx
parentdfcd09f7749ec86af2251e777c989e42eca68cf4 (diff)
coverity#1130183 Logically dead code
Change-Id: I0bb684634b176769360aaa1c4471274da9797a44
Diffstat (limited to 'sw/source/filter/basflt/iodetect.cxx')
-rw-r--r--sw/source/filter/basflt/iodetect.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx
index 2e3f72ecaf15..8472e33e9505 100644
--- a/sw/source/filter/basflt/iodetect.cxx
+++ b/sw/source/filter/basflt/iodetect.cxx
@@ -280,9 +280,6 @@ const SfxFilter* SwIoSystem::GetFileFilter(const OUString& rFileName,
SfxFilterContainer aCntSwWeb( OUString(sSWRITERWEB) );
const SfxFilterContainer* pFCntnr = IsDocShellRegistered() ? &aCntSw : &aCntSwWeb;
- if( !pFCntnr )
- return 0;
-
SfxFilterMatcher aMatcher( pFCntnr->GetName() );
SfxFilterMatcherIter aIter( aMatcher );
const SfxFilter* pFilter = aIter.First();