From 6571e651746d85b93f3607e18ededc59e703a9ec Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sat, 15 Dec 2012 22:49:14 +1030 Subject: [PATCH 1/3] 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