summaryrefslogtreecommitdiff
path: root/sd/source/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-24 09:55:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-24 12:42:20 +0200
commitc33613a07df9ea92201ad741032cb9201aebf21d (patch)
tree15ff0e0d22904b447214543b83a7ed1d08b461b2 /sd/source/filter
parent6a79db85be2520de3ca5d2c52eacdb58bc17fec8 (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/source/filter')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx11
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);