summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/documentbuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index e5d3dcb39dd6..e3fc29b0b840 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -242,7 +242,7 @@ namespace DOM
const xmlChar *systemId)
{
// get the CDocumentBuilder object
- xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr)ctx;
+ xmlParserCtxtPtr ctxt = static_cast<xmlParserCtxtPtr>(ctx);
CDocumentBuilder *builder = static_cast< CDocumentBuilder* >(ctxt->_private);
Reference< XEntityResolver > resolver = builder->getEntityResolver();
OUString sysid;