]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_cygwin.cpp
Transfer tempName() implementation to FileName.
[lyx.git] / src / support / os_cygwin.cpp
index 304dd3e9975de715bb2476bf77469e13bd384d71..cf57336f7dd176210c7ab29aff29db71a40779ee 100644 (file)
@@ -15,9 +15,9 @@
 #include <config.h>
 
 #include "support/os.h"
-#include "support/lstrings.h"
 
-#include "debug.h"
+#include "support/lstrings.h"
+#include "support/debug.h"
 
 #include <windows.h>
 #include <io.h>
 
 #include <sys/cygwin.h>
 
-using std::endl;
-using std::string;
-
-using lyx::support::contains;
-
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -193,10 +189,8 @@ string latex_path(string const & p)
 
        if (windows_style_tex_paths_ && is_absolute_path(p)) {
                string dos_path = convert_path(p, PathStyle(windows));
-               LYXERR(Debug::LATEX)
-                       << "<Path correction for LaTeX> ["
-                       << p << "]->>["
-                       << dos_path << ']' << endl;
+               LYXERR(Debug::LATEX, "<Path correction for LaTeX> ["
+                       << p << "]->>[" << dos_path << ']');
                return dos_path;
        }