[Libreoffice-commits] core.git: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 24 10:42:44 UTC 2018


 sd/source/filter/xml/sdxmlwrp.cxx |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

New commits:
commit c33613a07df9ea92201ad741032cb9201aebf21d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 24 09:55:15 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 24 12:42:20 2018 +0200

    ofz#9261 catch all exceptions
    
    Change-Id: I535c9608bbd554a55edf9ccd58ac71032ba756fc
    Reviewed-on: https://gerrit.libreoffice.org/57902
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index cd7d5e86abd7..7eda98d88a6d 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -1103,16 +1103,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportPPTX(SvStream &rStream)
     {
         ret = xFilter->filter(aArgs);
     }
-    catch (const css::io::IOException&)
-    {
-    }
-    catch (const css::xml::sax::SAXException&)
-    {
-    }
-    catch (const css::lang::IllegalArgumentException&)
-    {
-    }
-    catch (const css::lang::WrappedTargetRuntimeException&)
+    catch (...)
     {
     }
     xDocSh->SetLoading(SfxLoadedFlags::ALL);


More information about the Libreoffice-commits mailing list