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

New commits:
commit 3fead2a3b53681ef95116f18f17f1a9febec6e48
Author: Carlos Garcia Campos <[email protected]>
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();
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to