Ignore:
Timestamp:
Mar 6, 2011, 12:41:38 AM (11 years ago)
Author:
Silvan Scherrer
Message:

poppler, jpeg, freetype lib updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/plugins/lupoppler/lupoppler.cpp

    r461 r470  
    5959#include <Link.h>
    6060#include <Form.h>
     61#include <config.h>
    6162
    6263#include "lupoppler.xih"
     
    102103}
    103104
     105static char version[256];
    104106extern "C" char * EXPENTRY getDescription()
    105107{
    106     return "PDF plugin, based on poppler library v0.14.2";
     108    strcpy(version, "PDF plugin, based on poppler library ");
     109    strcat(version, VERSION);
     110    return version;
    107111}
    108112
     
    804808    PDFDoc *doc = ((PopplerDocument *)somThis->data)->doc;
    805809
    806     PSOutputDev *out = new PSOutputDev( filename, doc->getXRef(), doc->getCatalog(), NULL,
     810    PSOutputDev *out = new PSOutputDev( filename, doc, doc->getXRef(), doc->getCatalog(), NULL,
    807811                                (first_page <= last_page) ? (first_page + 1) : (last_page + 1),
    808812                                (first_page <= last_page) ? (last_page + 1) : (first_page + 1),
Note: See TracChangeset for help on using the changeset viewer.