X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXVC.cpp;h=930680b33bd262373a3210c78f7b68a4a6e0df50;hb=3f7d2a66f522a45583e0a8b0ba734bb71f0ddde0;hp=aff782494fe2977f7f2d69ed0e75cd40f9b58809;hpb=9383f4c3c6f9cfab2d658701ba66e2b54cd68bea;p=lyx.git diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp index aff782494f..930680b33b 100644 --- a/src/LyXVC.cpp +++ b/src/LyXVC.cpp @@ -17,25 +17,20 @@ #include "LyXVC.h" #include "VCBackend.h" -#include "support/debug.h" #include "Buffer.h" -#include "support/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; - namespace Alert = frontend::Alert; @@ -221,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();