[poppler] Branch 'poppler-0.12' - poppler/Page.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Mon Nov 9 02:26:58 PST 2009


 poppler/Page.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 701af67b5988b6cff800f123ced7570ecbadf668
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Mon Nov 9 11:25:24 2009 +0100

    Transitions dictionary can be a Ref too

diff --git a/poppler/Page.cc b/poppler/Page.cc
index 67dc632..d52cb77 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -269,7 +269,7 @@ Page::Page(XRef *xrefA, int numA, Dict *pageDict, Ref pageRefA, PageAttrs *attrs
 
   // transtion
   pageDict->lookupNF("Trans", &trans);
-  if (!(trans.isDict() || trans.isNull())) {
+  if (!(trans.isRef() || trans.isDict() || trans.isNull())) {
     error(-1, "Page transition object (page %d) is wrong type (%s)",
 	  num, trans.getTypeName());
     trans.free();


More information about the poppler mailing list