]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Liason.C
use the new sstream return non-pods as const, use string instead of char * in a lot...
[lyx.git] / src / frontends / Liason.C
index 570bb24239d9e97493f2ab54a1bc95754a46d2ab..c0a4b31fc3de67765c1283d952d0630151a96c9c 100644 (file)
@@ -29,6 +29,8 @@
 #include "minibuffer.h"
 #include "support/syscall.h"
 
+using std::endl;
+
 extern LyXRC lyxrc;
 #ifndef NEW_EXPORT
 extern bool RunScript(Buffer * buffer, bool wait, string const & command,
@@ -143,8 +145,6 @@ bool printBuffer(Buffer * buffer, PrinterParams const & pp)
                        command2 += QuoteName(psname);
                        // First run dvips.
                        // If successful, then spool command
-                       lyxerr << "command1 = " << command << endl;
-                       lyxerr << "command2 = " << command2 << endl;
                        res = one.startscript(Systemcalls::System, command);
                        if (res == 0)
                                res = one.startscript(Systemcalls::SystemDontWait,
@@ -159,7 +159,6 @@ bool printBuffer(Buffer * buffer, PrinterParams const & pp)
                command += lyxrc.print_to_file
                        + QuoteName(MakeAbsPath(pp.file_name, path));
                command += ' ' + QuoteName(dviname);
-               lyxerr << "command1 = " << command << endl;
                res = one.startscript(Systemcalls::SystemDontWait, command);
                break;
        }