diff options
author | Tomas Chvatal <tchvatal@suse.cz> | 2012-05-15 15:05:38 +0200 |
---|---|---|
committer | Tomas Chvatal <tchvatal@suse.cz> | 2012-05-15 15:10:29 +0200 |
commit | 516f81a17619a993694c08b024f0c1a6b11dceb5 (patch) | |
tree | d0e724367d4888ece6d2f179a89a8b7ce143dc89 /sdext/source | |
parent | a490c019787bbea83a7a8419978d3c1efaf5450f (diff) |
Do not call getOrigName ever
When one take look on what the code did:
name = nameA;
origName = nameA;
GooString *getOrigName() { return origName; }
GooString *getName() { return name; }
This code is used even with poppler 10 which was branched 4 years ago.
So simply do not bother with this code at all.
Change-Id: Iba877e765fb763878f5ccd3e1fa62c29cadc9085
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index 46ac1c65e0f6..c8c7f209993c 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -406,10 +406,6 @@ 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 ) - pFamily = gfxFont->getOrigName(); -#endif if( pFamily ) { aNewFont.familyName.clear(); |