removed xpdf version switch
authorkramm <kramm>
Sun, 22 Apr 2007 17:46:58 +0000 (17:46 +0000)
committerkramm <kramm>
Sun, 22 Apr 2007 17:46:58 +0000 (17:46 +0000)
lib/pdf/pdf.cc

index 7ba786d..5353759 100644 (file)
@@ -346,9 +346,7 @@ gfxdocument_t*pdf_open(char*filename)
     for(t=1;t<=pdf_doc->num_pages;t++) {
        if(!global_page_range || is_in_range(t, global_page_range)) {
            i->doc->displayPage((OutputDev*)io, t, zoom, zoom, /*rotate*/0, /*usemediabox*/true, /*crop*/true, /*doLinks*/(int)1);
     for(t=1;t<=pdf_doc->num_pages;t++) {
        if(!global_page_range || is_in_range(t, global_page_range)) {
            i->doc->displayPage((OutputDev*)io, t, zoom, zoom, /*rotate*/0, /*usemediabox*/true, /*crop*/true, /*doLinks*/(int)1);
-#if xpdfUpdateVersion >= 16
            i->doc->processLinks((OutputDev*)io, t);
            i->doc->processLinks((OutputDev*)io, t);
-#endif
            i->pages[t-1].xMin = io->x1;
            i->pages[t-1].yMin = io->y1;
            i->pages[t-1].xMax = io->x2;
            i->pages[t-1].xMin = io->x1;
            i->pages[t-1].yMin = io->y1;
            i->pages[t-1].xMax = io->x2;