poppler/Page.cc

View: New views
1 Messages — Rating Filter:   Alert me  

poppler/Page.cc

by Carlos Garcia Campos-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

New commits:
commit 3fead2a3b53681ef95116f18f17f1a9febec6e48
Author: Carlos Garcia Campos <carlosgc@...>
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
poppler@...
http://lists.freedesktop.org/mailman/listinfo/poppler