From cec95cd93ce002ff57e9a530ee920170f5d36e38 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 26 Jul 2021 21:15:07 +0200 Subject: GooString::append(const std::string&) is new in poppler 0.83.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib3324c393c195526160eddbdfc83a688e6f66dbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119534 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext') diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index e33fde7d2682..58fa1d61e969 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -444,7 +444,7 @@ 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&) +#if POPPLER_CHECK_VERSION(0, 83, 0) // GooString::append(const std::string&) aNewFont.familyName.append( familyName ); #else aNewFont.familyName.append( familyName.c_str() ); -- cgit