[poppler] poppler/qt4/src: poppler-page.cc,1.35,1.36

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Jan 31 14:05:11 PST 2007


Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv22901/qt4/src

Modified Files:
	poppler-page.cc 
Log Message:
* qt4/src/poppler-page.cc:
  Patch by Pino Toscano <pino at kde.org> to remove a nonsense done by him.

* qt4/tests/test-poppler-qt4.cpp:
  Simply a bit. Patch by Pino Toscano <pino at kde.org>.


Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-page.cc,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- poppler-page.cc	21 Jan 2007 22:35:23 -0000	1.35
+++ poppler-page.cc	31 Jan 2007 22:05:09 -0000	1.36
@@ -221,8 +221,6 @@
           painter.setRenderHint(QPainter::TextAntialiasing);
       painter.save();
       painter.translate(x == -1 ? 0 : -x, y == -1 ? 0 : -y);
-      if (w == -1 && h == -1)
-        painter.scale((double)w/(double)size.width(), (double)h/(double)size.height());
       ArthurOutputDev arthur_output(&painter);
       arthur_output.startDoc(m_page->parentDoc->m_doc->doc->getXRef());
       m_page->parentDoc->m_doc->doc->displayPageSlice(&arthur_output,



More information about the poppler mailing list