sdext/source/pdfimport/filterdet.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit b9249d7c4db6e20dcc1bcca88b350e9ee547c992
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jan 26 14:02:10 2023 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jan 26 14:58:46 2023 +0000

    cid#1520592 Logically dead code
    
    Change-Id: If0e52b474369657e0ed602f859d180f829865f9c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146176
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sdext/source/pdfimport/filterdet.cxx 
b/sdext/source/pdfimport/filterdet.cxx
index 24bff08ccb6f..69aa90a26b9b 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -357,9 +357,6 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< 
beans::PropertyValue >& rF
             aOutFilterName = "calc_pdf_addstream_import";
     }
 
-    if (!bSuccess)
-        return OUString();
-
     if (!aOutFilterName.isEmpty())
     {
         if( nFilterNamePos == -1 )

Reply via email to