You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/05/06 07:22:50 UTC
cvs commit: xml-xalan/c/src/XalanSourceTree XalanSourceTreeComment.cpp XalanSourceTreeText.cpp
dbertoni 02/05/05 22:22:50
Modified: c/src/XalanSourceTree XalanSourceTreeComment.cpp
XalanSourceTreeText.cpp
Log:
Use XalanDOMString::substr().
Revision Changes Path
1.9 +1 -1 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.cpp
Index: XalanSourceTreeComment.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XalanSourceTreeComment.cpp 23 Feb 2002 03:15:33 -0000 1.8
+++ XalanSourceTreeComment.cpp 6 May 2002 05:22:50 -0000 1.9
@@ -385,7 +385,7 @@
unsigned int offset,
unsigned int count) const
{
- return substring(m_data, offset, count);
+ return m_data.substr(offset, count);
}
1.10 +1 -1 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.cpp
Index: XalanSourceTreeText.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XalanSourceTreeText.cpp 23 Feb 2002 03:15:33 -0000 1.9
+++ XalanSourceTreeText.cpp 6 May 2002 05:22:50 -0000 1.10
@@ -373,7 +373,7 @@
unsigned int offset,
unsigned int count) const
{
- return substring(m_data, offset, count);
+ return m_data.substr(offset, count);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org