[poppler] poppler/qt4/src: poppler-link.cc,1.3,1.4

Albert Astals Cid aacid at kemper.freedesktop.org
Fri May 19 10:24:21 PDT 2006


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

Modified Files:
	poppler-link.cc 
Log Message:
* qt4/src/poppler-link.cc: Patch by Pino Toscano, ensure the
        splashoutput is created when parsing the TOC.



Index: poppler-link.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-link.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- poppler-link.cc	12 May 2006 20:40:05 -0000	1.3
+++ poppler-link.cc	19 May 2006 17:24:19 -0000	1.4
@@ -64,8 +64,9 @@
 		
 		int leftAux, topAux, rightAux, bottomAux;
 		
-		data.doc->m_splashOutputDev->cvtUserToDev( left, top, &leftAux, &topAux );
-		data.doc->m_splashOutputDev->cvtUserToDev( right, bottom, &rightAux, &bottomAux );
+		SplashOutputDev *sod = data.doc->getSplashOutputDev();
+		sod->cvtUserToDev( left, top, &leftAux, &topAux );
+		sod->cvtUserToDev( right, bottom, &rightAux, &bottomAux );
 		
 		m_left = leftAux;
 		m_top = topAux;



More information about the poppler mailing list