summaryrefslogtreecommitdiffstats
path: root/unoxml/source
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-16 01:40:30 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-16 19:15:41 +0200
commit80840b8b59f8a013d5f8da930d51c8639c2d9673 (patch)
tree105e8101a2254b02dd7106f68c7ca41903fcb3e1 /unoxml/source
parentavoid deleting before a use (bnc#693200) (diff)
downloadcore-80840b8b59f8a013d5f8da930d51c8639c2d9673.tar.gz
core-80840b8b59f8a013d5f8da930d51c8639c2d9673.zip
fdo#35668: do not manually free parser context
* reenable complex.unoxml.DOMTest testXDocumentBuilder() * do not manually free parser context, there is a shared_ptr for that
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index f950964320c8..0f240399bfed 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;
}