]> git.lyx.org Git - features.git/blobdiff - src/Chktex.C
clear()->erase() ; lots of using directives for cxx
[features.git] / src / Chktex.C
index f4f9cf22da5b0052fce3e303fbd216030be4aad4..0dab6668c32616ce5fe90c9c08b7d61a3ec34d95 100644 (file)
@@ -1,18 +1,19 @@
 /* This file is part of
- * ======================================================
+ * ====================================================== 
  * 
  *           LyX, The Document Processor        
  *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ *           Copyright 1995-2000 The LyX Team.
  *
  *           This file is Copyright 1997-1998
  *           Asger Alstrup
  *
- *======================================================
+ * ====================================================== 
  */
 
 #include <config.h>
 
+#include <fstream>
 #include <cstdlib> // atoi
 
 #ifdef __GNUG__
@@ -30,6 +31,9 @@
 #include "support/path.h"
 #include "gettext.h"
 
+using std::ifstream;
+using std::getline;
+
 /*
  * CLASS Chktex
  */
@@ -56,7 +60,7 @@ int Chktex::run(TeXErrors &terr)
 }
 
 
-int Chktex::scanLogFile(TeXErrors &terr)
+int Chktex::scanLogFile(TeXErrors & terr)
 {
        string token;
        int retval = 0;