dbertoni    2004/10/28 15:31:58

  Modified:    c/src/xalanc/XSLT StylesheetExecutionContextDefault.cpp
  Log:
  Better const-correctness.
  
  Revision  Changes    Path
  1.33      +5 -5      
xml-xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp
  
  Index: StylesheetExecutionContextDefault.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- StylesheetExecutionContextDefault.cpp     24 Oct 2004 18:59:55 -0000      
1.32
  +++ StylesheetExecutionContextDefault.cpp     28 Oct 2004 22:31:58 -0000      
1.33
  @@ -1060,8 +1060,7 @@
   
   #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
   void
  -StylesheetExecutionContextDefault::beginCreateXResultTreeFrag(
  -                     XalanNode*                                      
sourceNode)
  +StylesheetExecutionContextDefault::beginCreateXResultTreeFrag(XalanNode*    
sourceNode)
   {
        assert(m_xsltProcessor != 0);
   
  @@ -1104,16 +1103,17 @@
   StylesheetExecutionContextDefault::endCreateXResultTreeFrag()
   {
        
  -     FormatterToSourceTree* theFormatter = 
m_formatterToSourceTreeStack.top();
  +     FormatterToSourceTree* const    theFormatter =
  +        m_formatterToSourceTreeStack.top();
   
        assert (theFormatter != 0);
   
        theFormatter->endDocument();
   
  -     XalanSourceTreeDocumentFragment* theDocumentFragment =
  +     XalanSourceTreeDocumentFragment* const  theDocumentFragment =
                theFormatter->getDocumentFragment();
   
  -     assert (theDocumentFragment != 0);
  +     assert(theDocumentFragment != 0);
   
        XResultTreeFrag* const  theXResultTreeFrag =
                m_xresultTreeFragAllocator.create(*theDocumentFragment);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to