summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index c9ffed3e40de..46ac1c65e0f6 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -406,10 +406,8 @@ int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state )
int nSize = 0;
GooString* pFamily = gfxFont->getName();
+#if !POPPLER_CHECK_VERSION(0, 20, 0)
if( ! pFamily )
-#if POPPLER_CHECK_VERSION(0, 20, 0)
- pFamily = gfxFont->getName();
-#else
pFamily = gfxFont->getOrigName();
#endif
if( pFamily )