starmath/source/mathmlimport.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
New commits: commit bbff2801ff00a41b95340b517d34c9d73fdb8959 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Dec 15 09:26:20 2017 +0000 ofz#4649 don't care about exceptions for testing Change-Id: I955460276c3bf98457eff6bc9503edd238a5650c Reviewed-on: https://gerrit.libreoffice.org/46506 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits