diff --git a/src/xercesc/dom/impl/DOMParentNode.cpp b/src/xercesc/dom/impl/DOMParentNode.cpp index 6f10d948d80d7af8424077ea6e808031b74c4d09..db7a2bfed386271f78fa732bc78797d15787285f 100644 --- a/src/xercesc/dom/impl/DOMParentNode.cpp +++ b/src/xercesc/dom/impl/DOMParentNode.cpp @@ -88,14 +88,14 @@ DOMParentNode::DOMParentNode(const DOMParentNode &other) : void DOMParentNode::changed() { - DOMDocumentImpl *doc = (DOMDocumentImpl *)(castToNodeImpl(this)->getOwnerDocument()); + DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument(); doc->changed(); } int DOMParentNode::changes() const { - DOMDocumentImpl *doc = (DOMDocumentImpl *)(castToNodeImpl(this)->getOwnerDocument()); + DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument(); return doc->changes(); };