You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2004/12/14 19:59:42 UTC

cvs commit: xml-xalan/c/src/xalanc/XalanSourceTree FormatterToSourceTree.cpp FormatterToSourceTree.hpp

dmitryh     2004/12/14 10:59:42

  Modified:    c/src/xalanc/XalanSourceTree FormatterToSourceTree.cpp
                        FormatterToSourceTree.hpp
  Log:
  Fix for providing backward API compatibility for Formatter* classes
  
  Revision  Changes    Path
  1.8       +3 -3      xml-xalan/c/src/xalanc/XalanSourceTree/FormatterToSourceTree.cpp
  
  Index: FormatterToSourceTree.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanSourceTree/FormatterToSourceTree.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FormatterToSourceTree.cpp	8 Nov 2004 19:15:37 -0000	1.7
  +++ FormatterToSourceTree.cpp	14 Dec 2004 18:59:42 -0000	1.8
  @@ -50,7 +50,7 @@
   
   
   
  -FormatterToSourceTree::FormatterToSourceTree(MemoryManagerType& theManager,
  +FormatterToSourceTree::FormatterToSourceTree(MemoryManagerType&         theManager,
                                                XalanSourceTreeDocument*	theDocument) :
   	FormatterListener(OUTPUT_METHOD_DOM),
   	m_document(theDocument),
  @@ -66,9 +66,9 @@
   
   
   FormatterToSourceTree::FormatterToSourceTree(
  -            MemoryManagerType&                  theManager,
   			XalanSourceTreeDocument*			theDocument,
  -			XalanSourceTreeDocumentFragment*	theDocumentFragment) :
  +			XalanSourceTreeDocumentFragment*	theDocumentFragment,
  +            MemoryManagerType&                  theManager) :
   	FormatterListener(OUTPUT_METHOD_DOM),
   	m_document(theDocument),
   	m_documentFragment(theDocumentFragment),
  
  
  
  1.7       +3 -3      xml-xalan/c/src/xalanc/XalanSourceTree/FormatterToSourceTree.hpp
  
  Index: FormatterToSourceTree.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanSourceTree/FormatterToSourceTree.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FormatterToSourceTree.hpp	8 Nov 2004 19:15:37 -0000	1.6
  +++ FormatterToSourceTree.hpp	14 Dec 2004 18:59:42 -0000	1.7
  @@ -81,7 +81,7 @@
   	 * @param theDocument The document for nodes
   	 */
   	explicit
  -	FormatterToSourceTree(MemoryManagerType& theManager,
  +	FormatterToSourceTree(  MemoryManagerType&          theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR,
                               XalanSourceTreeDocument*	theDocument = 0);
   
   	/**
  @@ -92,9 +92,9 @@
   	 * @param theDocumentFragment The document fragment for nodes
   	 */
   	FormatterToSourceTree(
  -            MemoryManagerType&                  theManager,
   			XalanSourceTreeDocument*			theDocument,
  -			XalanSourceTreeDocumentFragment*	theDocumentFragment);
  +			XalanSourceTreeDocumentFragment*	theDocumentFragment,
  +            MemoryManagerType&                  theManager XALAN_DEFAULT_MEMMGR);
   
   	virtual
   	~FormatterToSourceTree();
  
  
  

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