[poppler] poppler/qt: poppler-document.cc,1.13,1.14

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Feb 24 15:43:37 PST 2007


Update of /cvs/poppler/poppler/qt
In directory kemper:/tmp/cvs-serv20555/qt

Modified Files:
	poppler-document.cc 
Log Message:
2007-02-25  Albert Astals Cid <aacid at kde.org>

        * configure.ac:
        * glib/poppler-document.cc:
        * poppler/GlobalParams.cc:
        * poppler/GlobalParams.h:
        * poppler/PSOutputDev.cc:
        * qt/poppler-document.cc:
        * qt4/src/poppler-document.cc:
        * qt4/src/poppler-private.h:
        * qt4/src/poppler-qt4.h:
        * test/gtk-splash-test.cc:
        * test/pdf-inspector.cc:
        * utils/pdffonts.cc:
        * utils/pdfimages.cc:
        * utils/pdfinfo.cc:
        * utils/pdftohtml.cc:
        * utils/pdftoppm.cc:
        * utils/pdftops.cc:
        * utils/pdftotext.cc: Remove dependency on xpdfrc file and cleanup
                              GlobalParams accordingly


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-document.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- poppler-document.cc	28 Dec 2006 17:22:36 -0000	1.13
+++ poppler-document.cc	24 Feb 2007 23:43:35 -0000	1.14
@@ -35,7 +35,7 @@
 Document *Document::load(const QString &filePath)
 {
   if (!globalParams) {
-    globalParams = new GlobalParams("/etc/xpdfrc");
+    globalParams = new GlobalParams();
   }
 
   DocumentData *doc = new DocumentData(new GooString(QFile::encodeName(filePath)), NULL);
@@ -327,7 +327,7 @@
   if (psOut->isOk()) {
     QValueList<int>::iterator it;
     for (it = pageList.begin(); it != pageList.end(); ++it )
-      data->doc.displayPage(psOut, *it, hDPI, vDPI, rotate, gFalse, globalParams->getPSCrop(), gFalse);
+      data->doc.displayPage(psOut, *it, hDPI, vDPI, rotate, gFalse, gTrue, gFalse);
     
     delete psOut;
     return true;



More information about the poppler mailing list