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 2001/01/08 19:13:48 UTC
cvs commit: xml-xalan/c/src/PlatformSupport DOMStringPrintWriter.cpp
dbertoni 01/01/08 10:13:48
Modified: c/src/PlatformSupport DOMStringPrintWriter.cpp
Log:
Changed XMLCh to XalanDOMChar.
Revision Changes Path
1.10 +0 -11 xml-xalan/c/src/PlatformSupport/DOMStringPrintWriter.cpp
Index: DOMStringPrintWriter.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringPrintWriter.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DOMStringPrintWriter.cpp 2000/11/20 20:04:26 1.9
+++ DOMStringPrintWriter.cpp 2001/01/08 18:13:48 1.10
@@ -135,18 +135,7 @@
void
DOMStringPrintWriter::write(XalanDOMChar c)
{
-#if defined(XALAN_USE_XERCES_DOMSTRING)
- // Write the data as a null-terminated array,
- // so we can guarantee null-termination of our
- // string...
- XalanDOMChar theBuffer[2] = { 0, 0 };
-
- theBuffer[0] = c;
-
- m_outputString += theBuffer;
-#else
m_outputString += c;
-#endif
}