]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.C
Move #includes out of header files.
[lyx.git] / src / Chktex.C
index 7b728fc9d4ec1262623be06311501e21559c0abb..33e9d2e683e116b70a0e238d35f56e36b161c61d 100644 (file)
@@ -1,14 +1,11 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file Chktex.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
- *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
+ * \author Asger Alstrup
  *
- *           This file is Copyright 1997-1998
- *           Asger Alstrup
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
 #include "support/FileInfo.h"
 #include "support/filetools.h"
-#include "support/systemcall.h"
-#include "support/path.h"
 #include "support/lstrings.h"
+#include "support/lyxlib.h"
+#include "support/path.h"
+#include "support/systemcall.h"
 
 #include "support/BoostFormat.h"
 
 #include <fstream>
 
+using namespace lyx::support;
+
 using std::ifstream;
 using std::getline;
 
@@ -80,7 +80,7 @@ int Chktex::scanLogFile(TeXErrors & terr)
                token = split(token, warno, ':');
                token = split(token, warning, ':');
 
-               int const lineno = lyx::atoi(line);
+               int const lineno = atoi(line);
 
 #if USE_BOOST_FORMAT
                msg % warno;