From e54d08556431ee31a10f188ba15ad38dcb360bb4 Mon Sep 17 00:00:00 2001
From: Tinny Ng <tng@apache.org>
Date: Fri, 8 Dec 2000 15:18:48 +0000
Subject: [PATCH] fixed a couple of typos

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@172473 13f79535-47bb-0310-9956-ffa450edef68
---
 src/dom/RangeImpl.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/dom/RangeImpl.cpp b/src/dom/RangeImpl.cpp
index 50150ee79..fb42954c2 100644
--- a/src/dom/RangeImpl.cpp
+++ b/src/dom/RangeImpl.cpp
@@ -762,8 +762,8 @@ DOMString RangeImpl::toString() const
         }
     }
     
-    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 @@ DOMString RangeImpl::toString() const
         
     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);
-- 
GitLab