diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-15 09:26:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-15 18:40:19 +0100 |
commit | bbff2801ff00a41b95340b517d34c9d73fdb8959 (patch) | |
tree | d0cb16721a5bc5f35610005f3c61396cd582f3c2 /starmath | |
parent | deba726824b751cdba7b13793e68ecc442168e7d (diff) |
ofz#4649 don't care about exceptions for testing
Change-Id: I955460276c3bf98457eff6bc9503edd238a5650c
Reviewed-on: https://gerrit.libreoffice.org/46506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlimport.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 8daaa2c653e7..7d1d63756d62 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -3137,7 +3137,13 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportMML(SvStream &rStream) ErrCode nRet = ERRCODE_SFX_DOLOADFAILED; - nRet = SmXMLImportWrapper::ReadThroughComponent(xStream, xModel, xContext, xInfoSet, "com.sun.star.comp.Math.XMLImporter", false); + try + { + nRet = SmXMLImportWrapper::ReadThroughComponent(xStream, xModel, xContext, xInfoSet, "com.sun.star.comp.Math.XMLImporter", false); + } + catch (...) + { + } xDocSh->SetLoading(SfxLoadedFlags::ALL); |