diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-24 09:55:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-07-24 12:42:20 +0200 |
commit | c33613a07df9ea92201ad741032cb9201aebf21d (patch) | |
tree | 15ff0e0d22904b447214543b83a7ed1d08b461b2 /sd | |
parent | 6a79db85be2520de3ca5d2c52eacdb58bc17fec8 (diff) |
ofz#9261 catch all exceptions
Change-Id: I535c9608bbd554a55edf9ccd58ac71032ba756fc
Reviewed-on: https://gerrit.libreoffice.org/57902
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
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); |