mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:43:38 +02:00
...
This commit is contained in:
parent
04409eb4bd
commit
53792745b2
2 changed files with 3 additions and 8 deletions
|
|
@ -625,11 +625,7 @@ static string get_link_dest(LinkAction *link, PDFDoc *doc) {
|
|||
return oss.str();
|
||||
}
|
||||
|
||||
#if (POPPLER_MAJOR_VERSION == 0) && (POPPLER_MINOR_VERSION < 17)
|
||||
void XMLOutputDev::process_link(Link* link){
|
||||
#else
|
||||
void XMLOutputDev::process_link(AnnotLink* link){
|
||||
#endif
|
||||
|
||||
double _x1, _y1, _x2, _y2;
|
||||
int x1, y1, x2, y2;
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ using namespace std;
|
|||
|
||||
namespace calibre_reflow {
|
||||
|
||||
#ifndef AnnotLink
|
||||
#define AnnotLink Link
|
||||
#endif
|
||||
|
||||
enum UnicodeTextDirection {
|
||||
text_dir_unknown,
|
||||
|
|
@ -244,11 +247,7 @@ class XMLOutputDev : public OutputDev {
|
|||
XMLImages *images;
|
||||
PDFDoc *doc;
|
||||
|
||||
#if (POPPLER_MAJOR_VERSION == 0) && (POPPLER_MINOR_VERSION < 17)
|
||||
void process_link(Link* link);
|
||||
#else
|
||||
void process_link(AnnotLink* link);
|
||||
#endif
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue