diff options
author | OBATA Akio <[email protected]> | 2019-05-21 13:33:17 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-05-21 18:02:47 +0200 |
commit | b9469c0263ea3bf1e72a3dd364bb42e3d6f47a7c (patch) | |
tree | 69fd0b9c66bd88f6b426063f113ca8fd6d97cc41 /tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc | |
parent | 57535f3efb857b11838ed6e1b8c70b70802c81f0 (diff) | |
download | tdegraphics-b9469c0263ea3bf1e72a3dd364bb42e3d6f47a7c.tar.gz tdegraphics-b9469c0263ea3bf1e72a3dd364bb42e3d6f47a7c.zip |
Add support fo Poppler >= 0.76
Follow Catalog::find_page argments change and GooList removal.
Signed-off-by: OBATA Akio <[email protected]>
(cherry picked from commit e7a848c7aa5735cba4712d73f819a3e2b9883730)
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc | 2 |
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(); |