dbertoni    2002/07/09 17:28:03

  Modified:    c/src/PlatformSupport XSLException.cpp XSLException.hpp
  Log:
  Use new typedef.
  
  Revision  Changes    Path
  1.7       +4 -4      xml-xalan/c/src/PlatformSupport/XSLException.cpp
  
  Index: XSLException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XSLException.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XSLException.cpp  28 Mar 2002 07:10:18 -0000      1.6
  +++ XSLException.cpp  10 Jul 2002 00:28:03 -0000      1.7
  @@ -103,8 +103,8 @@
                const XalanDOMString&   theType) :
        m_message(theMessage),
        m_uri(),
  -     m_lineNumber(-1),
  -     m_columnNumber(-1),
  +     m_lineNumber(size_type(-1)),
  +     m_columnNumber(size_type(-1)),
        m_type(theType)
   {
   }
  @@ -183,8 +183,8 @@
   XSLException::defaultFormat(
                        const XalanDOMString&   theMessage,
                        const XalanDOMString&   theURI,
  -                     int                                             
theLineNumber,
  -                     int                                             
theColumnNumber,
  +                     size_type                               theLineNumber,
  +                     size_type                               theColumnNumber,
                        const XalanDOMString&   theType,
                        XalanDOMString&                 theBuffer)
   {
  
  
  
  1.9       +10 -11    xml-xalan/c/src/PlatformSupport/XSLException.hpp
  
  Index: XSLException.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XSLException.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XSLException.hpp  28 Mar 2002 07:10:18 -0000      1.8
  +++ XSLException.hpp  10 Jul 2002 00:28:03 -0000      1.9
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -65,10 +65,7 @@
   
   
   #include <PlatformSupport/DOMStringHelper.hpp>
  -
  -
  -
  -class Locator;
  +#include <PlatformSupport/XalanLocator.hpp>
   
   
   
  @@ -76,6 +73,8 @@
   {
   public:
   
  +     typedef XalanLocator::size_type         size_type;
  +
        /**
         * Constructor
         * 
  @@ -155,7 +154,7 @@
         * 
         * @return the line number
         */
  -     int
  +     size_type
        getLineNumber() const
        {
                return m_lineNumber;
  @@ -166,7 +165,7 @@
         * 
         * @return the column number
         */
  -     int
  +     size_type
        getColumnNumber() const
        {
                return m_columnNumber;
  @@ -182,8 +181,8 @@
        defaultFormat(
                        const XalanDOMString&   theMessage,
                        const XalanDOMString&   theURI,
  -                     int                                             
theLineNumber,
  -                     int                                             
theColumnNumber,
  +                     size_type                               theLineNumber,
  +                     size_type                               theColumnNumber,
                        const XalanDOMString&   theType,
                        XalanDOMString&                 theBuffer);
   
  @@ -192,8 +191,8 @@
        const XalanDOMString    m_message;
        const XalanDOMString    m_uri;
   
  -     const int                               m_lineNumber;
  -     const int                               m_columnNumber;
  +     const size_type                 m_lineNumber;
  +     const size_type                 m_columnNumber;
   
        const XalanDOMString    m_type;
   };
  
  
  

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

Reply via email to