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/XSLT StylesheetHandler.cpp
Date Wed, 10 Jul 2002 00:41:46 GMT
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


Mime
View raw message