dbertoni 2002/11/06 16:54:20
Modified: c/src/XalanSourceTree XalanSourceTreeDocument.cpp
Log:
Fixed types for gettting attributes.
Revision Changes Path
1.31 +6 -6
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp
Index: XalanSourceTreeDocument.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- XalanSourceTreeDocument.cpp 5 Sep 2002 07:10:31 -0000 1.30
+++ XalanSourceTreeDocument.cpp 7 Nov 2002 00:54:20 -0000 1.31
@@ -695,10 +695,10 @@
++theIndex;
}
- const AttributesCountType theSAXAttributeCount =
attrs.getLength();
+ const unsigned int theSAXAttributeCount = attrs.getLength();
// Now, create the attributes...
- for(AttributesCountType i = 0; i < theSAXAttributeCount; ++i,
++theIndex)
+ for(unsigned int i = 0; i < theSAXAttributeCount; ++i, ++theIndex)
{
const XalanDOMChar* const theName =
attrs.getName(i);
@@ -795,10 +795,10 @@
++theIndex;
}
- const AttributesCountType theSAXAttributeCount =
attrs.getLength();
+ const unsigned int theSAXAttributeCount = attrs.getLength();
// Now, create the attributes...
- for(AttributesCountType i = 0; i < theSAXAttributeCount; ++i,
++theIndex)
+ for(unsigned int i = 0; i < theSAXAttributeCount; ++i, ++theIndex)
{
const XalanDOMChar* const theName =
attrs.getName(i);
@@ -1309,10 +1309,10 @@
++theIndex;
}
- const AttributesCountType theSAXAttributeCount =
theAttributes.getLength();
+ const unsigned int theSAXAttributeCount =
theAttributes.getLength();
// Now, create the attributes...
- for(AttributesCountType i = 0; i < theSAXAttributeCount; ++i,
++theIndex)
+ for(unsigned int i = 0; i < theSAXAttributeCount; ++i, ++theIndex)
{
const XalanDOMChar* const theQName =
theAttributes.getQName(i);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]