diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-23 08:17:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-23 08:17:59 -0700 |
commit | decfa7b0447538dec6cbcfa8ea50481f2173ce12 (patch) | |
tree | 7271b72d9e676ac0b7ca26335ecdc2968ea3717e /core/fpdfapi/fpdf_cmaps | |
parent | a5c85987a7604c0915268cb694f03f3452fdac6a (diff) | |
download | pdfium-decfa7b0447538dec6cbcfa8ea50481f2173ce12.tar.xz |
Remove FPDFAPI_LoadCID2UnicodeMap.
This Cl removes FPDFAPI_LoadCID2UnicodeMap() and inlines the code into the one
caller.
Review-Url: https://codereview.chromium.org/2097513002
Diffstat (limited to 'core/fpdfapi/fpdf_cmaps')
-rw-r--r-- | core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp b/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp index 2a9900df91..8a1f369c00 100644 --- a/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp +++ b/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp @@ -180,12 +180,3 @@ uint32_t FPDFAPI_CharCodeFromCID(const FXCMAP_CMap* pMap, uint16_t cid) { } return 0; } - -void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, - const uint16_t*& pMap, - uint32_t& count) { - CPDF_FontGlobals* pFontGlobals = - CPDF_ModuleMgr::Get()->GetPageModule()->GetFontGlobals(); - pMap = pFontGlobals->m_EmbeddedToUnicodes[charset].m_pMap; - count = pFontGlobals->m_EmbeddedToUnicodes[charset].m_Count; -} |