]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_cygwin.cpp
Revert qprocess code. Revisions reverted: 22026, 22030, 22044, 22048,
[lyx.git] / src / support / os_cygwin.cpp
index 357f3c1e407942e583b87ff18986c65e6426f800..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>
@@ -27,9 +27,7 @@
 
 #include <sys/cygwin.h>
 
-using std::endl;
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -191,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;
        }