]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.cpp
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / LyXVC.cpp
index 1e595894b829d4867710e4b89d4c3acf5bf9dc21..930680b33bd262373a3210c78f7b68a4a6e0df50 100644 (file)
 
 #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;
@@ -217,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();