430,11 → 430,7 |
if (dst->isPageRef()) |
{ |
Ref dstr = dst->getPageRef(); |
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0) |
pagNum = pdfDoc->findPage(dstr); |
#else |
pagNum = pdfDoc->findPage(dstr.num, dstr.gen); |
#endif |
} |
else |
pagNum = dst->getPageNum(); |
456,11 → 452,7 |
if (dstn->isPageRef()) |
{ |
Ref dstr = dstn->getPageRef(); |
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0) |
pagNum = pdfDoc->findPage(dstr); |
#else |
pagNum = pdfDoc->findPage(dstr.num, dstr.gen); |
#endif |
} |
else |
pagNum = dstn->getPageNum(); |
940,11 → 932,7 |
if (dst->isPageRef()) |
{ |
Ref dstr = dst->getPageRef(); |
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0) |
pagNum = pdfDoc->findPage(dstr); |
#else |
pagNum = pdfDoc->findPage(dstr.num, dstr.gen); |
#endif |
} |
else |
pagNum = dst->getPageNum(); |
968,11 → 956,7 |
if (dstn->isPageRef()) |
{ |
Ref dstr = dstn->getPageRef(); |
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0) |
pagNum = pdfDoc->findPage(dstr); |
#else |
pagNum = pdfDoc->findPage(dstr.num, dstr.gen); |
#endif |
} |
else |
pagNum = dstn->getPageNum(); |