git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e16862
)
pass xref to InfoOutputDev
author
kramm
<kramm>
Sun, 9 Sep 2007 17:53:58 +0000
(17:53 +0000)
committer
kramm
<kramm>
Sun, 9 Sep 2007 17:53:58 +0000
(17:53 +0000)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
c97825d
..
0e2ba10
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-351,7
+351,7
@@
static gfxdocument_t*pdf_open(const char*filename)
i->protect = 1;
}
- InfoOutputDev*io = new InfoOutputDev();
+ InfoOutputDev*io = new InfoOutputDev(i->doc->getXRef());
int t;
i->pages = (pdf_page_info_t*)malloc(sizeof(pdf_page_info_t)*pdf_doc->num_pages);
memset(i->pages,0,sizeof(pdf_page_info_t)*pdf_doc->num_pages);