kitinerary: fix compilation with poppler >= 0.83

Authored by dfaure on Dec 1 2019, 1:52 AM.

Description

kitinerary: fix compilation with poppler >= 0.83

Summary:
state->getPath() now returns a const GfxPath, and the methods
we are calling on it are indeed const now.

But they were not const before, so we can't just use const
unconditionally here, hence the version check and the #define.

Test Plan: Builds

Reviewers: vkrause, aacid

Reviewed By: vkrause

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D25644

Details

Committed
dfaureDec 1 2019, 12:15 PM
Reviewer
vkrause
Differential Revision
D25644: kitinerary: fix compilation with poppler >= 0.83
Parents
R1003:d07095114fb6: GIT_SILENT: Prepare 5.13.0
Branches
Unknown
Tags
Unknown