From 5263abf6d9f2e1917833cc1b136cfb4f8c94a28c Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 19 Jun 2008 20:30:45 +0000 Subject: [PATCH] fixed page extraction problem together with gfx module --- lib/pdf/pdf.cc | 4 ---- 1 file changed, 4 deletions(-) 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)); -- 1.7.10.4