sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c85557c924ee83f9a29c07520c83d308ff5a4c79 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Jul 18 14:35:58 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Jul 18 16:47:29 2021 +0200 poppler 0.73 doesn't have GooString::append(const std::string&) don't know what version is appeared in Change-Id: Ia1fff05aa58990e631d63a2e694be47a4b74e24c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119126 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index bc313f76ecc4..9ffece584347 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -444,7 +444,11 @@ int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state ) if( familyName != "" ) { aNewFont.familyName.clear(); +#if POPPLER_CHECK_VERSION(0, 74, 0) // at least 0.73 doesn't have GooString::append(const std::string&) aNewFont.familyName.append( familyName ); +#else + aNewFont.familyName.append( familyName.c_str() ); +#endif } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits