summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/qa/complex/unoxml/DOMTest.java3
-rw-r--r--unoxml/source/dom/documentbuilder.cxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/unoxml/qa/complex/unoxml/DOMTest.java b/unoxml/qa/complex/unoxml/DOMTest.java
index ba276e0fc53c..d4b9a5fcf3b6 100644
--- a/unoxml/qa/complex/unoxml/DOMTest.java
+++ b/unoxml/qa/complex/unoxml/DOMTest.java
@@ -98,8 +98,7 @@ public class DOMTest
//FIXME TODO
}
- // fd#35668 disabled, this crashes LibreOffice
- //@Test
+ @Test
public void testXDocumentBuilder() throws Exception
{
XDocumentBuilder xBuilder =
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index 8b38fd36fe44..b5c19d0a5a40 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -316,7 +316,6 @@ namespace DOM
saxex.Message = make_error_message(ctxt);
saxex.LineNumber = static_cast<sal_Int32>(ctxt->lastError.line);
saxex.ColumnNumber = static_cast<sal_Int32>(ctxt->lastError.int2);
- xmlFreeParserCtxt(ctxt);
throw saxex;
}