dbertoni    2002/07/22 17:27:58

  Modified:    c/src/XMLSupport FormatterToXML.cpp
  Log:
  Use empty() instead of size() != 0.
  
  Revision  Changes    Path
  1.58      +2 -2      xml-xalan/c/src/XMLSupport/FormatterToXML.cpp
  
  Index: FormatterToXML.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToXML.cpp,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- FormatterToXML.cpp        11 Apr 2002 05:52:58 -0000      1.57
  +++ FormatterToXML.cpp        23 Jul 2002 00:27:58 -0000      1.58
  @@ -1054,7 +1054,7 @@
   
        if (hasChildNodes == true) 
        {
  -             if (m_preserves.size() == 0)
  +             if (m_preserves.empty() == true)
                {
                        m_ispreserve = false;
                }
  @@ -1596,7 +1596,7 @@
   {
        bool    fResult = false;
   
  -     if (m_elemStack.size() > 0)
  +     if (m_elemStack.empty() == false)
        {
                fResult = m_elemStack.back();
   
  
  
  

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

Reply via email to