[poppler] Branch 'poppler-0.10' - qt/poppler-link.cc

Pino Toscano pino at kemper.freedesktop.org
Sun Dec 21 15:29:16 PST 2008


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

New commits:
commit cdb490f37daecf6cc783b8191d34539b454a908e
Author: Pino Toscano <pino at kde.org>
Date:   Mon Dec 22 00:24:23 2008 +0100

    [Qt] deserialize also the value of 'right'

diff --git a/qt/poppler-link.cc b/qt/poppler-link.cc
index 1be7437..af6d645 100644
--- a/qt/poppler-link.cc
+++ b/qt/poppler-link.cc
@@ -87,11 +87,12 @@ namespace Poppler {
 		m_pageNum = tokens[1].toInt();
 		m_left = tokens[2].toDouble();
 		m_bottom = tokens[3].toDouble();
-		m_top = tokens[4].toDouble();
-		m_zoom = tokens[5].toDouble();
-		m_changeLeft = static_cast<bool>(tokens[6].toInt());
-		m_changeTop = static_cast<bool>(tokens[7].toInt());
-		m_changeZoom = static_cast<bool>(tokens[8].toInt());
+		m_right = tokens[4].toDouble();
+		m_top = tokens[5].toDouble();
+		m_zoom = tokens[6].toDouble();
+		m_changeLeft = static_cast<bool>(tokens[7].toInt());
+		m_changeTop = static_cast<bool>(tokens[8].toInt());
+		m_changeZoom = static_cast<bool>(tokens[9].toInt());
 	}
 	
 	LinkDestination::Kind LinkDestination::kind() const


More information about the poppler mailing list