xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/XPath XNumberBase.cpp
Date Fri, 03 Jan 2003 08:03:02 GMT
dbertoni    2003/01/03 00:03:02

  Modified:    c/src/XPath XNumberBase.cpp
  Log:
  Use new XObject function.
  
  Revision  Changes    Path
  1.5       +1 -3      xml-xalan/c/src/XPath/XNumberBase.cpp
  
  Index: XNumberBase.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XNumberBase.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XNumberBase.cpp	21 Nov 2002 01:26:18 -0000	1.4
  +++ XNumberBase.cpp	3 Jan 2003 08:03:02 -0000	1.5
  @@ -102,9 +102,7 @@
   bool
   XNumberBase::boolean() const
   {
  -	const double	theValue = num();
  -
  -	return DoubleSupport::isNaN(theValue) || DoubleSupport::equal(theValue, 0.0) ? false :
true;
  +	return XObject::boolean(num());
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message