From 4a8a30f941ea4324e6319db0d92e5290e9be225d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 10 Feb 2014 10:43:59 +0000 Subject: [PATCH] coverity#1130183 Logically dead code Change-Id: I0bb684634b176769360aaa1c4471274da9797a44 --- sw/source/filter/basflt/iodetect.cxx | 3 --- 1 file changed, 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();