tng         2002/09/24 13:20:38

  Modified:    c/src/xercesc/dom/impl DOMParentNode.cpp
  Log:
  Performance: use fParent's ownerdocument directly
  
  Revision  Changes    Path
  1.8       +3 -3      xml-xerces/c/src/xercesc/dom/impl/DOMParentNode.cpp
  
  Index: DOMParentNode.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMParentNode.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DOMParentNode.cpp 23 Sep 2002 20:01:51 -0000      1.7
  +++ DOMParentNode.cpp 24 Sep 2002 20:20:38 -0000      1.8
  @@ -88,14 +88,14 @@
   
   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();
   };
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to