Fixed equality comparison with extraneous parentheses

This commit is contained in:
Quentin Fiard 2014-02-23 16:49:30 +00:00
parent 5cfbe17a66
commit 3c047bae33

View file

@ -433,7 +433,7 @@ class DocumentImpl : public DOM::Document_impl<stringT, string_adaptorT>,
virtual DOMNode_implT* removeChild(DOMNode_implT* oldChild)
{
if((documentType_ == oldChild))
if(documentType_ == oldChild)
throw DOM::DOMException(DOM::DOMException::HIERARCHY_REQUEST_ERR);
DOMNode_implT* result = NodeWithChildrenT::removeChild(oldChild);