[poppler] poppler/qt4/tests: test-poppler-qt4.cpp,1.5,1.6

Albert Astals Cid aacid at freedesktop.org
Sat Dec 10 02:52:18 PST 2005


Update of /cvs/poppler/poppler/qt4/tests
In directory gabe:/tmp/cvs-serv18249/qt4/tests

Modified Files:
	test-poppler-qt4.cpp 
Log Message:
* qt4/src/poppler-page.cc:
* qt4/src/poppler-qt4.h:
* qt4/src/tests/test-poppler-qt4.cpp: The parameters x,y,w,h to the
  method splashRenderToPixmap are now used. Convenient
  defaults are provided. The test has been changed accordingly. Some
  added documentation. Patch by Stefan Kebekus


Index: test-poppler-qt4.cpp
===================================================================
RCS file: /cvs/poppler/poppler/qt4/tests/test-poppler-qt4.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- test-poppler-qt4.cpp	3 Dec 2005 21:35:46 -0000	1.5
+++ test-poppler-qt4.cpp	10 Dec 2005 10:52:16 -0000	1.6
@@ -45,7 +45,7 @@
             {
                 qDebug() << "Displaying page using Splash backend: " << m_currentPage;
 		delete pixmap;
-                pixmap = page->splashRenderToPixmap(-1, -1, 0, 0, 72.0, 72.0);
+                pixmap = page->splashRenderToPixmap();
             }
             update();
             delete page;



More information about the poppler mailing list