summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
index 99cd8cc9..3ba58505 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
@@ -35,7 +35,7 @@ namespace Poppler {
if ( data.namedDest && !ld )
{
deleteDest = true;
-# if defined(HAVE_POPPLER_086)
+# if (POPPLER_VERSION_C >= 86000)
ld = data.doc->doc.findDest( data.namedDest ).get();
# else
ld = data.doc->doc.findDest( data.namedDest );
@@ -81,7 +81,7 @@ namespace Poppler {
m_right = rightAux;
m_bottom = bottomAux;
-# if !defined(HAVE_POPPLER_086)
+# if (POPPLER_VERSION_C < 86000)
if (deleteDest) delete ld;
# endif
}