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/12/01 22:41:56 UTC

cvs commit: xml-xalan/c/src/XPath XNumber.cpp

dbertoni    00/12/01 13:41:56

  Modified:    c/src/XPath XNumber.cpp
  Log:
  Convert directly into data member.
  
  Revision  Changes    Path
  1.11      +2 -2      xml-xalan/c/src/XPath/XNumber.cpp
  
  Index: XNumber.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XNumber.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XNumber.cpp	2000/09/19 14:56:05	1.10
  +++ XNumber.cpp	2000/12/01 21:41:55	1.11
  @@ -134,9 +134,9 @@
   	if (isEmpty(m_cachedStringValue) == true)
   	{
   #if defined(XALAN_NO_MUTABLE)
  -		((XNumber*)this)->m_cachedStringValue = DoubleToDOMString(m_value);
  +		DoubleToDOMString(m_value, ((XNumber*)this)->m_cachedStringValue);
   #else
  -		m_cachedStringValue = DoubleToDOMString(m_value);
  +		DoubleToDOMString(m_value, m_cachedStringValue);
   #endif
   	}