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

Caolán McNamara caolanm at redhat.com
Thu Nov 30 14:15:39 UTC 2017


 sd/source/filter/xml/sdxmlwrp.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit bd90805c387d46ca35a7dbfe032ed8e8d07d2e85
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 30 13:47:17 2017 +0000

    catch IllegalArgumentException too
    
    Change-Id: Ib34bb87d94f8cc6d381e65ffbfe186e8d76d4e83
    Reviewed-on: https://gerrit.libreoffice.org/45587
    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 02b3e2028d2f..3293e662a69d 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -1096,6 +1096,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportPPTX(SvStream &rStream)
     catch (const css::xml::sax::SAXException&)
     {
     }
+    catch (const css::lang::IllegalArgumentException&)
+    {
+    }
     catch (const css::lang::WrappedTargetRuntimeException&)
     {
     }


More information about the Libreoffice-commits mailing list