You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ab...@locus.apache.org on 2000/02/11 03:45:59 UTC

cvs commit: xml-xerces/c/samples/Redirect Redirect.hpp

abagchi     00/02/10 18:45:59

  Modified:    c/samples/Redirect Redirect.hpp
  Log:
  Removed StrX::transcode
  
  Revision  Changes    Path
  1.3       +5 -11     xml-xerces/c/samples/Redirect/Redirect.hpp
  
  Index: Redirect.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/Redirect/Redirect.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Redirect.hpp	2000/02/06 07:47:21	1.2
  +++ Redirect.hpp	2000/02/11 02:45:59	1.3
  @@ -56,6 +56,9 @@
   
   /**
    * $Log: Redirect.hpp,v $
  + * Revision 1.3  2000/02/11 02:45:59  abagchi
  + * Removed StrX::transcode
  + *
    * Revision 1.2  2000/02/06 07:47:21  rahulj
    * Year 2K copyright swat.
    *
  @@ -88,12 +91,10 @@
       // -----------------------------------------------------------------------
       //  Constructors and Destructor
       // -----------------------------------------------------------------------
  -	StrX(const XMLCh* const toTranscode, const unsigned int len = 0) :
  -
  -        fLocalForm(0)
  +    StrX(const XMLCh* const toTranscode)
       {
           // Call the private transcoding method
  -        transcode(toTranscode, len);
  +        fLocalForm = XMLString::transcode(toTranscode);
       }
   
       ~StrX()
  @@ -101,7 +102,6 @@
           delete [] fLocalForm;
       }
   
  -
       // -----------------------------------------------------------------------
       //  Getter methods
       // -----------------------------------------------------------------------
  @@ -112,12 +112,6 @@
   
   
   private :
  -    // -----------------------------------------------------------------------
  -    //  Private helper methods
  -    // -----------------------------------------------------------------------
  -	void transcode (const XMLCh* const toTranscode, const unsigned int len);
  -
  -
       // -----------------------------------------------------------------------
       //  Private data members
       //