You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@locus.apache.org on 2000/12/08 16:18:48 UTC
cvs commit: xml-xerces/c/src/dom RangeImpl.cpp
tng 00/12/08 07:18:48
Modified: c/src/dom RangeImpl.cpp
Log:
fixed a couple of typos
Revision Changes Path
1.9 +4 -4 xml-xerces/c/src/dom/RangeImpl.cpp
Index: RangeImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/dom/RangeImpl.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- RangeImpl.cpp 2000/12/06 19:42:45 1.8
+++ RangeImpl.cpp 2000/12/08 15:18:48 1.9
@@ -55,7 +55,7 @@
*/
/*
- * $Id: RangeImpl.cpp,v 1.8 2000/12/06 19:42:45 tng Exp $
+ * $Id: RangeImpl.cpp,v 1.9 2000/12/08 15:18:48 tng Exp $
*/
#include <util/RefVectorOf.hpp>
@@ -762,8 +762,8 @@
}
}
- if ( fEndContainer.getNodeType()!= DOM_Node.TEXT_NODE &&
- fEndContainer.getNodeType()!= DOM_Node.CDATA_SECTION_NODE ){
+ if ( fEndContainer.getNodeType()!= DOM_Node::TEXT_NODE &&
+ fEndContainer.getNodeType()!= DOM_Node::CDATA_SECTION_NODE ){
int i=fEndOffset;
stopNode = fEndContainer.getFirstChild();
while( i>0 && stopNode!=null ){
@@ -776,8 +776,8 @@
while (node != stopNode) { //look into all kids of the Range
if (node == null) break;
- if (node.getNodeType() == DOM_Node.TEXT_NODE
- || node.getNodeType() == DOM_Node.CDATA_SECTION_NODE) {
+ if (node.getNodeType() == DOM_Node::TEXT_NODE
+ || node.getNodeType() == DOM_Node::CDATA_SECTION_NODE) {
tempString.appendData(node.getNodeValue());
}
node = nextNode(node, true);