dbertoni 2002/07/31 08:35:03 Modified: c/src/PlatformSupport XalanStdOutputStream.cpp Log: Removed strstream. Revision Changes Path 1.11 +4 -14 xml-xalan/c/src/PlatformSupport/XalanStdOutputStream.cpp Index: XalanStdOutputStream.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanStdOutputStream.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- XalanStdOutputStream.cpp 8 May 2002 23:05:09 -0000 1.10 +++ XalanStdOutputStream.cpp 31 Jul 2002 15:35:03 -0000 1.11 @@ -65,10 +65,8 @@ #if defined(XALAN_OLD_STREAM_HEADERS) #include <iostream.h> -#include <strstream.h> #else #include <iostream> -#include <strstream> #endif @@ -150,21 +148,13 @@ const char* theMessage, int theErrorCode) { -#if !defined(XALAN_NO_NAMESPACES) -using std::ostrstream; -#endif - - XalanDOMString theResult(TranscodeFromLocalCodePage(theMessage)); - - ostrstream theFormatter; + XalanDOMString theResult(theMessage); - theFormatter << ". The error code was " - << theErrorCode - << "." << '\0'; + append(theResult, ". The error code was "); - append(theResult, theFormatter.str()); + LongToDOMString(theErrorCode, theResult); - delete theFormatter.str(); + append(theResult, "."); return theResult; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]