[poppler] poppler/Page.cc

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


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

New commits:
commit 3fead2a3b53681ef95116f18f17f1a9febec6e48
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