summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:08:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:28 +0100
commit9b88d532375a6d89c241053c40581d9f963fa1b0 (patch)
treee622935a8f5010eb6e0e740d84aa4df6c6c2c0a1 /unoxml
parentb646aa35d0f5c1115178167f78c6adadb0090aee (diff)
Clean up C-style casts from pointers to void
Change-Id: Ie12eb8940ebb6059d234f5af25800812c085002a
Diffstat (limited to 'unoxml')
-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;