Commit 354c1926 authored by Albert Astals Cid's avatar Albert Astals Cid

* qt4/src/poppler-link.cc: Patch by Pino Toscano, ensure the

        splashoutput is created when parsing the TOC.
parent 3c9a5f37
2006-05-19 Albert Astals Cid <aacid@kde.org>
* qt4/src/poppler-link.cc: Patch by Pino Toscano, ensure the
splashoutput is created when parsing the TOC.
2006-05-14 Albert Astals Cid <aacid@kde.org>
* poppler/FontInfo.cc: Fix possible crash, half patch
......
......@@ -64,8 +64,9 @@ namespace Poppler {
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment