unoxml: CDocumentBuilder: just catch all Exception
Turns out that XErrorHandler can throw SAXException too, which isn't derived from RuntimeException. Change-Id: Ib853805259b5b32a979e4f9a20297975431dee08
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user