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

Caolán McNamara caolanm at redhat.com
Tue Feb 27 16:18:13 UTC 2018


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

New commits:
commit aa4548d1f91e15b8711bbcbd2ad939247579f9a8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 27 15:58:18 2018 +0000

    ofz#6571 catch exception
    
    Change-Id: I438bd0be1eb44e87cb166e1594316a3ad5d5dae0
    Reviewed-on: https://gerrit.libreoffice.org/50452
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index f8e9278a0459..01460f6fe4c5 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1853,6 +1853,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportDOCX(SvStream &rStream)
     catch (const css::lang::WrappedTargetRuntimeException&)
     {
     }
+    catch (const std::exception&)
+    {
+    }
     xDocSh->SetLoading(SfxLoadedFlags::ALL);
 
     xDocSh->DoClose();


More information about the Libreoffice-commits mailing list