From: kramm Date: Thu, 19 Jun 2008 20:30:45 +0000 (+0000) Subject: fixed page extraction problem together with gfx module X-Git-Tag: buttons-working~116 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=5263abf6d9f2e1917833cc1b136cfb4f8c94a28c;p=swftools.git fixed page extraction problem together with gfx module --- diff --git a/lib/pdf/pdf.cc b/lib/pdf/pdf.cc index 98fb665..b51cc9a 100644 --- a/lib/pdf/pdf.cc +++ b/lib/pdf/pdf.cc @@ -196,10 +196,6 @@ gfxpage_t* pdf_doc_getpage(gfxdocument_t*doc, int page) if(page < 1 || page > doc->num_pages) return 0; - if(di->nocopy) { - msg(" PDF disallows copying."); - return 0; - } gfxpage_t* pdf_page = (gfxpage_t*)malloc(sizeof(gfxpage_t)); pdf_page_internal_t*pi= (pdf_page_internal_t*)malloc(sizeof(pdf_page_internal_t));