X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXVC.cpp;h=930680b33bd262373a3210c78f7b68a4a6e0df50;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=5b31fae692b197de961b5aa2c0ffcbbd9878c0c4;hpb=d95451ae5cf740e9f452417b248e0590f8100175;p=lyx.git diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp index 5b31fae692..930680b33b 100644 --- a/src/LyXVC.cpp +++ b/src/LyXVC.cpp @@ -17,28 +17,20 @@ #include "LyXVC.h" #include "VCBackend.h" -#include "debug.h" #include "Buffer.h" -#include "gettext.h" #include "frontends/alert.h" +#include "support/debug.h" #include "support/filetools.h" +#include "support/gettext.h" #include "support/lstrings.h" -#include "support/lyxlib.h" +using namespace std; +using namespace lyx::support; namespace lyx { -using support::bformat; -using support::FileName; -using support::makeAbsPath; -using support::tempName; - -using std::endl; -using std::string; -using std::pair; - namespace Alert = frontend::Alert; @@ -224,7 +216,7 @@ string const LyXVC::getLogFile() const if (!vcs) return string(); - FileName const tmpf(tempName(FileName(), "lyxvclog")); + FileName const tmpf = FileName::tempName("lyxvclog"); if (tmpf.empty()) { LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); return string();