diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-04-30 01:48:37 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-04-30 01:48:37 +0200 |
commit | 9adc0f647c04e84792be63d913274633cc2ecd65 (patch) | |
tree | 64be526e774ba9621fa2a45dfd8e825594739869 /tdefile-plugins/dependencies/poppler-tqt/poppler-private.h | |
parent | ce555091ab20ebb0aa03fee2accd095e5a6c5687 (diff) | |
download | tdegraphics-9adc0f647c04e84792be63d913274633cc2ecd65.tar.gz tdegraphics-9adc0f647c04e84792be63d913274633cc2ecd65.zip |
Add support for Poppler >= 22.03.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-private.h')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/poppler-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h index c98d02b8..f1096ceb 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h +++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h @@ -104,7 +104,11 @@ class LinkDestinationData { class DocumentData { public: +# if defined(HAVE_POPPLER_2203) + DocumentData(std::unique_ptr<GooString> &&filePath, const std::optional<GooString> &password) : doc(std::move(filePath), password), m_fontInfoScanner(0), m_outputDev(0) {} +# else DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {} +# endif ~DocumentData() { |