diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 16:53:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 16:54:11 +0000 |
commit | 756eed8c9dc6b5d533c48bd961984b3741851886 (patch) | |
tree | 09cc881c7d0a52c5f09fe2f764cd06b426d19d81 /sw/source/filter/xml/xmlimp.cxx | |
parent | fe3b63f656014675dfc6069f1aaaee9e306a7245 (diff) |
another expected exception in initial corpus
Change-Id: I5f804cd6dd844bc82d4afadc4bb835ca0d77a53e
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 2a698430dec8..ccc00398576a 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/drawing/XDrawPageSupplier.hpp> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XSynchronousFrameLoader.hpp> +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextRange.hpp> @@ -1631,6 +1632,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportDOCX(SvStream &rStream) { ret = xFilter->filter(aArgs); } + catch (const css::io::IOException&) + { + } catch (const css::lang::WrappedTargetRuntimeException&) { } |