[poppler] Branch 'poppler-0.10' - qt4/src

Pino Toscano pino at kemper.freedesktop.org
Sat Nov 15 05:53:39 PST 2008


 qt4/src/poppler-link.cc |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit a1b0e661a8de0d8acd7e24c0ef4e671d5e9c162c
Author: Pino Toscano <pino at kde.org>
Date:   Sat Nov 15 14:49:02 2008 +0100

    [Qt4] deserialize the value of the 'right' coordinate, too

diff --git a/qt4/src/poppler-link.cc b/qt4/src/poppler-link.cc
index 1b986a3..9d583cb 100644
--- a/qt4/src/poppler-link.cc
+++ b/qt4/src/poppler-link.cc
@@ -250,11 +250,12 @@ class LinkMoviePrivate : public LinkPrivate
 		d->pageNum = tokens.at(1).toInt();
 		d->left = tokens.at(2).toDouble();
 		d->bottom = tokens.at(3).toDouble();
-		d->top = tokens.at(4).toDouble();
-		d->zoom = tokens.at(5).toDouble();
-		d->changeLeft = static_cast<bool>(tokens.at(6).toInt());
-		d->changeTop = static_cast<bool>(tokens.at(7).toInt());
-		d->changeZoom = static_cast<bool>(tokens.at(8).toInt());
+		d->right = tokens.at(4).toDouble();
+		d->top = tokens.at(5).toDouble();
+		d->zoom = tokens.at(6).toDouble();
+		d->changeLeft = static_cast<bool>(tokens.at(7).toInt());
+		d->changeTop = static_cast<bool>(tokens.at(8).toInt());
+		d->changeZoom = static_cast<bool>(tokens.at(9).toInt());
 	}
 	
 	LinkDestination::LinkDestination(const LinkDestination &other)


More information about the poppler mailing list