Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5242 → Rev 5243

/branches/Version13x/Scribus/scribus/gsutil.cpp
30,27 → 30,15
#include <qpainter.h>
#include <qprocess.h>
 
/* CB old includes from util.cpp.
#include <algorithm>
#include <cstdlib>
#include <cmath>
*/
#include "scconfig.h"
 
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/*
#include <setjmp.h>
#include "pagestructs.h"
*/
#include "prefsfile.h"
/*
#include "prefscontext.h"
#include "prefstable.h"
*/
#include "prefsmanager.h"
#include "scpaths.h"
#include "scribuscore.h"
 
/*
extern "C"
112,7 → 100,7
// Choose rendering device
if (!device.isEmpty())
args.append( QString("-sDEVICE=%1").arg(device) ); // user specified device
else if (ScMW->HavePngAlpha != 0)
else if (ScCore->havePNGAlpha() != 0)
args.append( "-sDEVICE=png16m" );
else
args.append( "-sDEVICE=pngalpha" );
149,7 → 137,7
if (!device.isEmpty())
// user specified device
cmd1 += " -sDEVICE="+device;
else if (ScMW->HavePngAlpha != 0)
else if (ScCore->havePNGAlpha() != 0)
cmd1 += " -sDEVICE=png16m";
else
cmd1 += " -sDEVICE=pngalpha";