unoxml/source/dom/documentbuilder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ae3ba018bfe066854fd787e2938441e4cc1316e1 Author: Michael Stahl <mst...@redhat.com> Date: Fri Aug 25 13:31:25 2017 +0200 unoxml: CDocumentBuilder: just catch all Exception Turns out that XErrorHandler can throw SAXException too, which isn't derived from RuntimeException. Change-Id: Ib853805259b5b32a979e4f9a20297975431dee08 diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index e8eb6097c23d..0b5aa5d583d7 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -292,7 +292,7 @@ namespace DOM pDocBuilder->getErrorHandler()->warning(::css::uno::Any(saxex)); } } - catch (const css::uno::RuntimeException &e) + catch (const css::uno::Exception &e) { // Protect lib2xml from UNO Exception SAL_WARN("unoxml", @@ -326,7 +326,7 @@ namespace DOM pDocBuilder->getErrorHandler()->error(::css::uno::Any(saxex)); } } - catch (const css::uno::RuntimeException &e) + catch (const css::uno::Exception &e) { // Protect lib2xml from UNO Exception SAL_WARN("unoxml", _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits