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/XalanSourceTree FormatterToSourceTree.cpp
Date Tue, 06 Nov 2001 05:05:32 GMT
dbertoni    01/11/05 21:05:32

  Modified:    c/src/XalanSourceTree FormatterToSourceTree.cpp
  Log:
  Fixed glitch in ignorableWhitespace() and removed variable.
  
  Revision  Changes    Path
  1.10      +8 -8      xml-xalan/c/src/XalanSourceTree/FormatterToSourceTree.cpp
  
  Index: FormatterToSourceTree.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/FormatterToSourceTree.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FormatterToSourceTree.cpp	2001/11/01 15:51:14	1.9
  +++ FormatterToSourceTree.cpp	2001/11/06 05:05:32	1.10
  @@ -349,19 +349,19 @@
   
   		processAccumulatedText();
   
  -		XalanSourceTreeText* const	theNewTextNode =
  -			m_document->createTextIWSNode(chars, length, m_currentElement);
  -
  -		doAppendChildNode(m_currentElement, m_lastChild, theNewTextNode);
  +		doAppendChildNode(
  +			m_currentElement,
  +			m_lastChild,
  +			m_document->createTextIWSNode(chars, length, m_currentElement));
   	}
   	else if(m_documentFragment != 0)
   	{
   		processAccumulatedText();
  -
  -		XalanSourceTreeText* const	theNewTextNode =
  -			m_document->createTextIWSNode(chars, length, m_currentElement);
   
  -		doAppendChildNode(m_currentElement, m_lastChild, theNewTextNode);
  +		doAppendChildNode(
  +			m_documentFragment,
  +			m_lastChild,
  +			m_document->createTextIWSNode(chars, length, m_currentElement));
   	}
   }
   
  
  
  

---------------------------------------------------------------------
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