dbertoni    2004/07/27 13:07:04

  Modified:    c/src/xalanc/PlatformSupport DOMStringHelper.cpp
  Log:
  Tweaks for OuputString() functions.
  
  Revision  Changes    Path
  1.6       +6 -2      
xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.cpp
  
  Index: DOMStringHelper.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DOMStringHelper.cpp       26 Feb 2004 22:34:18 -0000      1.5
  +++ DOMStringHelper.cpp       27 Jul 2004 20:07:04 -0000      1.6
  @@ -348,7 +348,7 @@
   {
        if (theString.empty() == false)
        {
  -             theStream << c_str(theString);
  +             theStream.write(&*theString.begin(), theString.size());
        }
   }
   
  @@ -371,7 +371,11 @@
                        ostream&                                theStream,
                        const XalanDOMChar*             theString)
   {
  -     OutputString(theStream, TranscodeToLocalCodePage(theString));
  +    CharVectorType  theVector;
  +
  +    TranscodeToLocalCodePage(theString, theVector);
  +
  +     OutputString(theStream, theVector);
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to