fixed links with xpdf-3.01
authorkramm <kramm>
Tue, 20 Feb 2007 18:49:27 +0000 (18:49 +0000)
committerkramm <kramm>
Tue, 20 Feb 2007 18:49:27 +0000 (18:49 +0000)
lib/pdf/GFXOutputDev.h

index 0d8d4cf..c622ee0 100644 (file)
@@ -4,6 +4,7 @@
 #include "../gfxdevice.h"
 #include "../gfxsource.h"
 
+#include "config.h"
 #include "InfoOutputDev.h"
 #include "PDFDoc.h"
 
@@ -82,7 +83,11 @@ public:
   void setXRef(PDFDoc*doc, XRef *xref);
 
   //----- link borders
+#if xpdfUpdateVersion >= 16
   virtual void processLink(Link *link, Catalog *catalog);
+#else
+  virtual void drawLink(Link *link, Catalog *catalog);
+#endif
 
   //----- save/restore graphics state
   virtual void saveState(GfxState *state) ;