summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/xpdfwrapper
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-07-26 21:15:07 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-07-27 16:19:06 +0200
commitcec95cd93ce002ff57e9a530ee920170f5d36e38 (patch)
treea432208fc9872b21a61e4126af5b9e53584dab12 /sdext/source/pdfimport/xpdfwrapper
parentd422512a5c9afc3b309442ba1cbd4405afab96c8 (diff)
GooString::append(const std::string&) is new in poppler 0.83.0
Change-Id: Ib3324c393c195526160eddbdfc83a688e6f66dbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119534 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx2
1 files changed, 1 insertions, 1 deletions
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() );