auriemma 00/09/29 13:18:33
Modified: c/src/PlatformSupport DOMStringHelper.cpp
Log:
Clean up.
Revision Changes Path
1.37 +4 -4 xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp
Index: DOMStringHelper.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- DOMStringHelper.cpp 2000/09/29 20:12:33 1.36
+++ DOMStringHelper.cpp 2000/09/29 20:18:31 1.37
@@ -1458,10 +1458,10 @@
{
#if 1
- wchar_t theBuffer[MAX_PRINTF_DIGITS + 1];
+ XalanDOMChar theBuffer[MAX_PRINTF_DIGITS +
1];
- wchar_t* thePointer = &theBuffer[MAX_PRINTF_DIGITS];
- wchar_t* const theEnd = thePointer;
+ XalanDOMChar* thePointer =
&theBuffer[MAX_PRINTF_DIGITS];
+ const XalanDOMChar* const theEnd = thePointer;
// Null terminate it...
*thePointer = 0;
@@ -1472,7 +1472,7 @@
--thePointer;
// Isolate the left most character.
- *thePointer = wchar_t(theUnsignedLong % 10 +
XalanUnicode::charDigit_0);
+ *thePointer = XalanDOMChar(theUnsignedLong % 10 +
XalanUnicode::charDigit_0);
// OK, we're done with it...
theUnsignedLong /= 10;