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

New commits:
commit bcb405c43fb7140f5d601d00de4d30913a0050ef
Author: Carlos Garcia Campos <[email protected]>
Date:   Thu Apr 8 12:02:48 2010 +0200

    Pages were always created without forms by Catalog
    
    Use getForm() instead of form when creating a page object.

diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc
index 74af00e..900cdd7 100644
--- a/poppler/Catalog.cc
+++ b/poppler/Catalog.cc
@@ -256,7 +256,7 @@ int Catalog::readPageTree(Dict *pagesDict, PageAttrs 
*attrs, int start,
     kids.arrayGet(i, &kid);
     if (kid.isDict("Page")) {
       attrs2 = new PageAttrs(attrs1, kid.getDict());
-      page = new Page(xref, start+1, kid.getDict(), kidRef.getRef(), attrs2, 
form);
+      page = new Page(xref, start+1, kid.getDict(), kidRef.getRef(), attrs2, 
getForm());
       if (!page->isOk()) {
        ++start;
        goto err3;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to