so to further triage this one down to this interface test:
http://opengrok.libreoffice.org/xref/core/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
and of that, the startDocument test is enough to trigger the problem on teardown. In SwXMLImport::startDocument it seems the first line triggering the trouble is:
setTextInsertMode( xInsertTextRange );
at http://opengrok.libreoffice.org/xref/core/sw/source/filter/xml/xmlimp.cxx#642
so to further triage this one down to this interface test:
http:// opengrok. libreoffice. org/xref/ core/qadevOOo/ tests/java/ ifc/xml/ sax/_XDocumentH andler. java
and of that, the startDocument test is enough to trigger the problem on teardown. :startDocument it seems the first line triggering the trouble is:
In SwXMLImport:
setTextInsertMode( xInsertTextRange );
at http:// opengrok. libreoffice. org/xref/ core/sw/ source/ filter/ xml/xmlimp. cxx#642