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/XercesParserLiaison XercesParserLiaison.cpp
Date Sat, 12 Oct 2002 00:37:53 GMT
dbertoni    2002/10/11 17:37:53

  Modified:    c/src/XercesParserLiaison XercesParserLiaison.cpp
  Log:
  Added #ifdef and removed unnecessary include file.
  
  Revision  Changes    Path
  1.53      +8 -4      xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.cpp
  
  Index: XercesParserLiaison.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.cpp,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- XercesParserLiaison.cpp	11 Oct 2002 01:59:31 -0000	1.52
  +++ XercesParserLiaison.cpp	12 Oct 2002 00:37:53 -0000	1.53
  @@ -59,10 +59,6 @@
   
   
   
  -#include <algorithm>
  -
  -
  -
   #if defined(XALAN_OLD_STREAM_HEADERS)
   #include <iostream.h>
   #else
  @@ -162,10 +158,18 @@
   	{
   		if ((*i).second.m_isDeprecated == false)
   		{
  +#if defined(XALAN_CANNOT_DELETE_CONST)
  +			delete (DOMDocument*)(*i).second.m_wrapper->getXercesDocument();
  +#else
   			delete (*i).second.m_wrapper->getXercesDocument();
  +#endif
   		}
   
  +#if defined(XALAN_CANNOT_DELETE_CONST)
  +		delete (XalanDocument*)(*i).first;
  +#else
   		delete (*i).first;
  +#endif
   	}
   
   	m_documentMap.clear();
  
  
  

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