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...@apache.org on 2002/07/10 02:41:46 UTC

cvs commit: xml-xalan/c/src/XSLT StylesheetHandler.cpp

dbertoni    2002/07/09 17:41:46

  Modified:    c/src/XSLT StylesheetHandler.cpp
  Log:
  Use new typedef.
  
  Revision  Changes    Path
  1.81      +5 -4      xml-xalan/c/src/XSLT/StylesheetHandler.cpp
  
  Index: StylesheetHandler.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetHandler.cpp,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- StylesheetHandler.cpp	20 May 2002 18:10:46 -0000	1.80
  +++ StylesheetHandler.cpp	10 Jul 2002 00:41:46 -0000	1.81
  @@ -79,6 +79,7 @@
   #include <PlatformSupport/DOMStringHelper.hpp>
   #include <PlatformSupport/DoubleSupport.hpp>
   #include <PlatformSupport/StringTokenizer.hpp>
  +#include <PlatformSupport/XalanLocator.hpp>
   
   
   
  @@ -358,8 +359,8 @@
   
   		const Locator* const	locator = m_constructionContext.getLocatorFromStack();
   
  -		const int	lineNumber = getLineNumber(locator);
  -		const int	columnNumber = getColumnNumber(locator);
  +		const XalanLocator::size_type	lineNumber = getLineNumber(locator);
  +		const XalanLocator::size_type	columnNumber = getColumnNumber(locator);
   
   		// First push namespaces
   		m_stylesheet.pushNamespaces(atts);
  @@ -1791,8 +1792,8 @@
   
   		const Locator* const	locator = m_constructionContext.getLocatorFromStack();
   
  -		const int	lineNumber = (0 != locator) ? locator->getLineNumber() : 0;
  -		const int	columnNumber = (0 != locator) ? locator->getColumnNumber() : 0;
  +		const XalanLocator::size_type	lineNumber = (0 != locator) ? locator->getLineNumber() : 0;
  +		const XalanLocator::size_type	columnNumber = (0 != locator) ? locator->getColumnNumber() : 0;
   
   		XalanAutoPtr<ElemTextLiteral>	elem(new ElemTextLiteral(m_constructionContext,
   			m_stylesheet,
  
  
  

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