[Libreoffice-commits] core.git: starmath/source
Caolán McNamara
caolanm at redhat.com
Fri Dec 15 17:45:05 UTC 2017
starmath/source/mathmlimport.cxx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit bbff2801ff00a41b95340b517d34c9d73fdb8959
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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);
More information about the Libreoffice-commits
mailing list