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

New commits:
commit cdb490f37daecf6cc783b8191d34539b454a908e
Author: Pino Toscano <[email protected]>
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
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to