dbertoni 2002/07/30 21:44:01 Modified: c/src/PlatformSupport XalanFileOutputStream.cpp Log: Cleaned up unused classes and removed deprecated header. Revision Changes Path 1.11 +4 -19 xml-xalan/c/src/PlatformSupport/XalanFileOutputStream.cpp Index: XalanFileOutputStream.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanFileOutputStream.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- XalanFileOutputStream.cpp 22 Jul 2002 22:28:55 -0000 1.10 +++ XalanFileOutputStream.cpp 31 Jul 2002 04:44:01 -0000 1.11 @@ -63,14 +63,6 @@ -#if defined(XALAN_OLD_STREAM_HEADERS) -#include <strstream.h> -#else -#include <strstream> -#endif - - - #include <Include/XalanAutoPtr.hpp> @@ -246,22 +238,15 @@ const XalanDOMString& theFileName, int theErrorCode) { - XalanDOMString theResult(TranscodeFromLocalCodePage(theMessage)); + XalanDOMString theResult(theMessage); theResult += theFileName; -#if !defined(XALAN_NO_NAMESPACES) -using std::ostrstream; -#endif - - ostrstream theFormatter; - - theFormatter << ". The C++ run-time error code (errno) is " - << theErrorCode << "." << '\0'; + append(theResult, ". The C++ run-time error code (errno) is "); - 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]