diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-22 12:50:07 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-22 13:58:10 +0100 |
commit | ebf767eeb2a169ba533e1b2ffccf16f41d95df35 (patch) | |
tree | 81946ae1fdee22ebf6f2543d0a965304528205f7 /dbaccess | |
parent | 825e4995220209362c13ed5f07c98e43a5f456de (diff) |
writerfilter: DOCX import: better error handling than "catch (...) {}"
If there is a SAXParseException, OOXMLDocumentImpl::resolve() should not
ignore it, because if it occurs in a substream some end tag handlers may
not have been run and the DomainMapper may be in an inconsistent state,
so continuing to parse the outer document is probably not a good idea.
Also add some exception mangling so sfx2 can present a useful error
dialog.
Change-Id: I169ba6db25f2ae264af08a64edf76a6bf6757f85
Diffstat (limited to 'dbaccess')
0 files changed, 0 insertions, 0 deletions