summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
index c8fa8984..52d7e4ab 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
@@ -53,7 +53,7 @@ namespace Poppler {
else
{
Ref ref = ld->getPageRef();
- m_pageNum = data.doc->doc.findPage( ref.num, ref.gen );
+ m_pageNum = data.doc->doc.findPage(FIND_PAGE_ARGS(ref));
}
double left = ld->getLeft();
double bottom = ld->getBottom();