From 0b939f9c635c2e6a07672a7ab4b7d4d2ed118864 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sat, 15 Dec 2012 22:49:14 +1030 Subject: [PATCH 1/4] use getNum instead of getReal --- poppler/PageTransition.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poppler/PageTransition.cc b/poppler/PageTransition.cc index 3fbd0de..3403247 100644 --- a/poppler/PageTransition.cc +++ b/poppler/PageTransition.cc @@ -118,9 +118,9 @@ PageTransition::PageTransition (Object *trans) { } obj.free(); - // get sacle - if (dict->lookup("SS", &obj)->isReal()) { - scale = obj.getReal(); + // get scale + if (dict->lookup("SS", &obj)->isNum()) { + scale = obj.getNum(); } obj.free(); -- 1.7.10.4