From 9b88d532375a6d89c241053c40581d9f963fa1b0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Mar 2015 19:08:17 +0100 Subject: Clean up C-style casts from pointers to void Change-Id: Ie12eb8940ebb6059d234f5af25800812c085002a --- unoxml/source/dom/documentbuilder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(ctx); CDocumentBuilder *builder = static_cast< CDocumentBuilder* >(ctxt->_private); Reference< XEntityResolver > resolver = builder->getEntityResolver(); OUString sysid; -- cgit