[poppler] qt/poppler-document.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Sep 6 06:47:03 PDT 2008


 qt/poppler-document.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit afa26d5c9ac9feb61aad30eb65dc00c9854d7f2e
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Sep 6 15:46:12 2008 +0200

    we are printing so pass the print flag as true

diff --git a/qt/poppler-document.cc b/qt/poppler-document.cc
index d87ebd4..c5282fc 100644
--- a/qt/poppler-document.cc
+++ b/qt/poppler-document.cc
@@ -317,7 +317,7 @@ bool Document::print(const QString &file, QValueList<int> pageList, double hDPI,
   if (psOut->isOk()) {
     QValueList<int>::iterator it;
     for (it = pageList.begin(); it != pageList.end(); ++it )
-      data->doc.displayPage(psOut, *it, hDPI, vDPI, rotate, gFalse, gTrue, gFalse);
+      data->doc.displayPage(psOut, *it, hDPI, vDPI, rotate, gFalse, gTrue, gTrue);
     
     delete psOut;
     return true;


More information about the poppler mailing list