dbertoni 02/05/05 22:24:21
Modified: c/src/XMLSupport FormatterToHTML.cpp
Log:
More efficient substring call.
Revision Changes Path
1.68 +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.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- FormatterToHTML.cpp 11 Apr 2002 05:52:58 -0000 1.67
+++ FormatterToHTML.cpp 6 May 2002 05:24:21 -0000 1.68
@@ -1084,7 +1084,7 @@
if (theColonIndex < theLength)
{
- m_stringBuffer = substring(theElementName, 0,
theColonIndex);
+ substring(theElementName, m_stringBuffer, 0,
theColonIndex);
thePrefix = &m_stringBuffer;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]