]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
fix a visual cursor edge-case:
[lyx.git] / src / VCBackend.cpp
index 0fd2094822a42b5a09ba3afa5273ffe968e496b7..0d96692328b871293101e6492b27c3985a6a6d54 100644 (file)
 #include <config.h>
 
 #include "VCBackend.h"
-#include "support/debug.h"
 #include "Buffer.h"
 
-#include "support/Path.h"
+#include "support/debug.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
+#include "support/Path.h"
 #include "support/Systemcall.h"
 
 #include <boost/regex.hpp>
 
 #include <fstream>
 
-
-namespace lyx {
-
-using support::addName;
-using support::addPath;
-using support::contains;
-using support::FileName;
-using support::onlyFilename;
-using support::onlyPath;
-using support::quoteName;
-using support::rtrim;
-using support::split;
-using support::Systemcall;
+using namespace std;
+using namespace lyx::support;
 
 using boost::regex;
 using boost::regex_match;
 using boost::smatch;
 
-#ifndef CXX_GLOBAL_CSTD
-using std::asctime;
-using std::gmtime;
-#endif
-
-using std::endl;
-using std::getline;
-using std::string;
-using std::ifstream;
+namespace lyx {
 
 
 int VCS::doVCCommand(string const & cmd, FileName const & path)