summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-09-08 14:26:50 +0200
committerSlávek Banko <[email protected]>2018-09-08 14:26:57 +0200
commit1b6cfc41025db2cb108b800d3404738d9a0b74bd (patch)
treefcd5493f1c32680a19136eed196c689fb49bd4f6 /tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
parent8063c4fe47de5f26d0fce48c36501b422efef4e3 (diff)
downloadtdegraphics-1b6cfc41025db2cb108b800d3404738d9a0b74bd.tar.gz
tdegraphics-1b6cfc41025db2cb108b800d3404738d9a0b74bd.zip
Add support for Poppler >= 0.64
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a0163f4c268fb162aac6510e762716bf780d6c11)
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
index 72db1fff..c8fa8984 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
@@ -30,8 +30,8 @@ namespace Poppler {
LinkDestination::LinkDestination(const LinkDestinationData &data)
{
bool deleteDest = false;
- LinkDest *ld = data.ld;
-
+ CONST_064 LinkDest *ld = data.ld;
+
if ( data.namedDest && !ld )
{
deleteDest = true;