| commit | 0a3c7a726ee7b26ce1014083f1087747cbde9277 | [log] |
|---|---|---|
| author | Martin Whitaker <foss@martin-whitaker.me.uk> | Fri May 08 21:47:25 2020 +0200 |
| committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | Fri Jun 19 05:56:44 2020 +0200 |
| tree | e052f1e74963396d9756a87e81209b1a8f03489d | |
| parent | 08b86198bd03af1655877f525e55bc6190635f4e [diff] |
tdf#131353: Fix build with poppler 0.86.0 Change-Id: I89b4635a6a3e3a5522172d6f4c3f14e6c14994b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93789 Tested-by: René Engelhard <rene@debian.org> Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchvatal@suse.com> (cherry picked from commit b42ab78fb871924896b3cc38a7b2f1257151f711) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96588 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index e9c2a40..16ad04b 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -563,7 +563,9 @@ void PDFOutDev::processLink(Link* link, Catalog*) if (!(pAction && pAction->getKind() == actionURI)) return; #if POPPLER_CHECK_VERSION(0, 72, 0) #if POPPLER_CHECK_VERSION(0, 86, 0) const char* pURI = static_cast<LinkURI*>(pAction)->getURI().c_str(); #elif POPPLER_CHECK_VERSION(0, 72, 0) const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->c_str(); #else const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString();