]> git.lyx.org Git - lyx.git/blobdiff - src/support/Systemcall.cpp
Remove ugly multiple definition hack
[lyx.git] / src / support / Systemcall.cpp
index 419b0d3a8a66bc8fafd94583e773c88636899cf7..ca804096603eb81b7f35732fe6bac5e6ac8820ab 100644 (file)
@@ -240,12 +240,12 @@ string const parsecmd(string const & incmd, string & infile, string & outfile,
 int Systemcall::startscript(Starttype how, string const & what,
                            string const & path, bool process_events)
 {
-       lyxerr << "\nRunning: " << what << endl;
+       LYXERR(Debug::INFO,"Running: " << what);
 
        string infile;
        string outfile;
        string errfile;
-       QString cmd = QString::fromLocal8Bit(
+       QString const cmd = QString::fromLocal8Bit(
                        parsecmd(what, infile, outfile, errfile).c_str());
 
        SystemcallPrivate d(infile, outfile, errfile);
@@ -430,7 +430,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool process_events, int time
                return state != Error;
        } 
 
-       // process events while waiting whith timeout
+       // process events while waiting with timeout
        QTime timer;
        timer.start();
        while (state == waitwhile && state != Error && !timedout) {