dbertoni    02/05/08 16:10:42

  Modified:    c/src/XSLT Stylesheet.cpp
  Log:
  Removed unused local variable.  Use more specific exception.
  
  Revision  Changes    Path
  1.76      +2 -3      xml-xalan/c/src/XSLT/Stylesheet.cpp
  
  Index: Stylesheet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/Stylesheet.cpp,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- Stylesheet.cpp    6 May 2002 05:31:57 -0000       1.75
  +++ Stylesheet.cpp    8 May 2002 23:10:42 -0000       1.76
  @@ -67,6 +67,7 @@
   
   
   #include <xercesc/sax/AttributeList.hpp>
  +#include <xercesc/util/PlatformUtils.hpp>
   
   
   
  @@ -174,7 +175,7 @@
                                m_baseIdent = urlString;
                        }
                }
  -             catch(const XMLException&)
  +             catch(const XMLPlatformUtilsException&)
                {
                        // Assume that any exception here relates to get the 
urlString from
                        // m_baseIdent.  We'll assume that it's just a fake 
base identifier
  @@ -904,7 +905,6 @@
                        {
                                const XalanDOMString*   prevPat = 0;
                                const MatchPattern2*    prevMatchPat = 0;
  -                             double                                  
prevMatchPatPriority = matchScoreNoneValue;
   
                                do
                                {
  @@ -939,7 +939,6 @@
                                                {
                                                        prevPat = patterns;
                                                        prevMatchPat = matchPat;
  -                                                     prevMatchPatPriority = 
matchPatPriority;
                                                        matchPatPriority = 
matchScoreNoneValue;
   
                                                        const XPath* const      
xpath = matchPat->getExpression();
  
  
  

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

Reply via email to