dbertoni    00/04/25 12:55:54

  Modified:    c/src/TestXSLT process.cpp
  Log:
  Removed some extraneous code.
  
  Revision  Changes    Path
  1.15      +3 -15     xml-xalan/c/src/TestXSLT/process.cpp
  
  Index: process.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- process.cpp       2000/04/20 16:44:28     1.14
  +++ process.cpp       2000/04/25 19:55:53     1.15
  @@ -72,15 +72,12 @@
   #include <cstdio>
   #include <cstring>
   #include <iostream>
  -//#include <map>
  -//#include <memory>
   
   #include <sys/types.h>
   #include <sys/stat.h>
   
   #include <string>
   #include <strstream>
  -//#include <vector>
   
   
   
  @@ -132,7 +129,6 @@
   #if !defined (XALAN_NO_NAMESPACES)
   using std::auto_ptr;
   using std::cerr;
  -using std::cin;
   using std::cout;
   using std::endl;
   using std::hex;
  @@ -428,7 +424,7 @@
   
   
   
  -static inline bool exists(string &filename)
  +static inline bool exists(const string&              filename)
   {
        struct stat statBuffer;
        return (0 == stat(filename.c_str(), &statBuffer));
  @@ -505,7 +501,7 @@
        if (params.paramsMap.size())    
        {
                String2StringMapType::const_iterator it = 
params.paramsMap.begin();
  -             for ( ; it != params.paramsMap.end(); it++)
  +             for ( ; it != params.paramsMap.end(); ++it)
                        processor.setStylesheetParam((*it).first.c_str(),
                                        (*it).second.c_str());
        }
  @@ -684,7 +680,7 @@
        }
   
        return 0;
  -}    
  +}
   
   int main(int argc, const char* argv[]) throw()
   {
  @@ -815,14 +811,6 @@
                                                 << endl;
                                }
                        }
  -
  -#if defined(XALAN_DEBUG_INTERACTIVE)
  -                     cout << "Hit <Enter> to continue..."
  -                              << endl
  -                              << endl;
  -
  -                     cin.get();
  -#endif
                }
   #endif
   
  
  
  

Reply via email to