You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/08/14 20:04:00 UTC

cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.hpp

dbertoni    00/08/14 11:03:58

  Modified:    c/src/PlatformSupport DOMStringHelper.hpp
  Log:
  Use equals() instead of compare().
  
  Revision  Changes    Path
  1.26      +2 -2      xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
  
  Index: DOMStringHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- DOMStringHelper.hpp	2000/08/10 18:17:07	1.25
  +++ DOMStringHelper.hpp	2000/08/14 18:03:56	1.26
  @@ -1476,7 +1476,7 @@
   	operator() (first_argument_type		theLHS,
   				second_argument_type	theRHS) const
   	{
  -		return compare(theLHS, theRHS) == 0 ? true : false;
  +		return equals(theLHS, theRHS);
   	}
   };
   
  @@ -1499,7 +1499,7 @@
   	operator() (first_argument_type		theLHS,
   				second_argument_type	theRHS) const
   	{
  -		return compare(theLHS, theRHS) == 0 ? false : true;
  +		return !equals(theLHS, theRHS);
   	}
   };