summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp')
-rw-r--r--core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp b/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
index daec8259e9..4c9201269c 100644
--- a/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
+++ b/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
@@ -37,8 +37,7 @@ static const FXCMAP_CMap g_FXCMAP_Korea1_cmaps[] = {
void CPDF_ModuleMgr::LoadEmbeddedKorea1CMaps() {
CPDF_FontGlobals* pFontGlobals =
CPDF_ModuleMgr::Get()->GetPageModule()->GetFontGlobals();
- pFontGlobals->SetEmbeddedCharset(CIDSET_KOREA1, g_FXCMAP_Korea1_cmaps,
- FX_ArraySize(g_FXCMAP_Korea1_cmaps));
+ pFontGlobals->SetEmbeddedCharset(CIDSET_KOREA1, g_FXCMAP_Korea1_cmaps);
pFontGlobals->SetEmbeddedToUnicode(CIDSET_KOREA1,
- g_FXCMAP_Korea1CID2Unicode_2, 18352);
+ g_FXCMAP_Korea1CID2Unicode_2);
}