fixed page extraction problem together with gfx module
authorkramm <kramm>
Thu, 19 Jun 2008 20:30:45 +0000 (20:30 +0000)
committerkramm <kramm>
Thu, 19 Jun 2008 20:30:45 +0000 (20:30 +0000)
lib/pdf/pdf.cc

index 98fb665..b51cc9a 100644 (file)
@@ -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("<error> 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));