xsltproc.cpp
changeset 584 95f1af9b525a
parent 431 c2ffbc9b832d
child 660 d0e047b8d412
     1.1 --- a/xsltproc.cpp	Sat Feb 24 12:32:53 2007 +0000
     1.2 +++ b/xsltproc.cpp	Thu Aug 09 18:34:08 2007 +0000
     1.3 @@ -6,6 +6,8 @@
     1.4  #include "process.h"
     1.5  
     1.6  
     1.7 +extern bool debug;
     1.8 +
     1.9  XSLTProc::XSLTProc ()
    1.10  {
    1.11  	xsltprocessor="xsltproc";
    1.12 @@ -66,7 +68,7 @@
    1.13  	args << xslFile;
    1.14  	args << inputFile;
    1.15  	QString com=xsltprocessor+" "+args.join(" "); 
    1.16 -	cout <<com.ascii()<<endl;
    1.17 +	if (debug) cout <<"xsltproc executing:\n"<<com.ascii()<<endl;
    1.18  	dia.append ("vym is executing: \n" + com );	
    1.19  	xsltProc->start(xsltprocessor,args);
    1.20  	if (!xsltProc->waitForStarted() )