]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / Chktex.cpp
index c88aefb2ba9a2da00fd534b5d21751700ceef08f..8683203d3b040b959aaf11244972a9932066a991 100644 (file)
 
 #include <boost/format.hpp>
 
-using std::getline;
-using std::string;
-
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::changeExtension;
-using support::FileName;
-using support::makeAbsPath;
-using support::onlyFilename;
-using support::split;
-using support::Systemcall;
-
 
 Chktex::Chktex(string const & chktex, string const & f, string const & p)
                : cmd(chktex), file(f), path(p)
@@ -75,7 +67,7 @@ int Chktex::scanLogFile(TeXErrors & terr)
        docstring token;
        // FIXME UNICODE
        // We have no idea what the encoding of the error file is
-       idocfstream ifs(tmp.toFilesystemEncoding().c_str());
+       ifdocstream ifs(tmp.toFilesystemEncoding().c_str());
        while (getline(ifs, token)) {
                docstring srcfile;
                docstring line;