dbertoni 2002/12/20 16:19:56
Modified: c/src/XMLSupport FormatterToHTML.cpp
Log:
Use XalanDOMString::npos instead of constant.
Revision Changes Path
1.81 +1 -1 xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp
Index: FormatterToHTML.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- FormatterToHTML.cpp 12 Dec 2002 01:53:27 -0000 1.80
+++ FormatterToHTML.cpp 21 Dec 2002 00:19:55 -0000 1.81
@@ -692,7 +692,7 @@
{
assert(theString != 0);
- if (theLength == unsigned(-1))
+ if (theLength == XalanDOMString::npos)
{
theLength = length(theString);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]