diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-05 20:27:02 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-05 20:27:02 +0000 |
commit | c45271e053c8c458cefa4ccf847c85b7d1df3f09 (patch) | |
tree | 281529b69ec20663958d20d6d0ac76f31177e841 /core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp | |
parent | 82f2afe603ccb1e879a7a292259b0882b3d27bb6 (diff) | |
download | pdfium-c45271e053c8c458cefa4ccf847c85b7d1df3f09.tar.xz |
Remove redundant field in struct FXCMAP_CMap.
Change-Id: Ibac6398b5849820562830bb8ed95c3428496f7ef
Reviewed-on: https://pdfium-review.googlesource.com/20410
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp')
-rw-r--r-- | core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp b/core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp index 603f238706..f640fdd597 100644 --- a/core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp +++ b/core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp @@ -13,45 +13,41 @@ static const FXCMAP_CMap g_FXCMAP_Japan1_cmaps[] = { {"83pv-RKSJ-H", g_FXCMAP_83pv_RKSJ_H_1, nullptr, 222, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, 0}, + 0}, {"90ms-RKSJ-H", g_FXCMAP_90ms_RKSJ_H_2, nullptr, 171, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, 0}, + 0}, {"90ms-RKSJ-V", g_FXCMAP_90ms_RKSJ_V_2, nullptr, 78, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, -1}, + -1}, {"90msp-RKSJ-H", g_FXCMAP_90msp_RKSJ_H_2, nullptr, 170, 0, - FXCMAP_CMap::Range, FXCMAP_CMap::None, -2}, + FXCMAP_CMap::Range, -2}, {"90msp-RKSJ-V", g_FXCMAP_90msp_RKSJ_V_2, nullptr, 78, 0, - FXCMAP_CMap::Range, FXCMAP_CMap::None, -1}, + FXCMAP_CMap::Range, -1}, {"90pv-RKSJ-H", g_FXCMAP_90pv_RKSJ_H_1, nullptr, 263, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, 0}, + 0}, {"Add-RKSJ-H", g_FXCMAP_Add_RKSJ_H_1, nullptr, 635, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, 0}, + 0}, {"Add-RKSJ-V", g_FXCMAP_Add_RKSJ_V_1, nullptr, 57, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, -1}, - {"EUC-H", g_FXCMAP_EUC_H_1, nullptr, 120, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, 0}, - {"EUC-V", g_FXCMAP_EUC_V_1, nullptr, 27, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, -1}, + -1}, + {"EUC-H", g_FXCMAP_EUC_H_1, nullptr, 120, 0, FXCMAP_CMap::Range, 0}, + {"EUC-V", g_FXCMAP_EUC_V_1, nullptr, 27, 0, FXCMAP_CMap::Range, -1}, {"Ext-RKSJ-H", g_FXCMAP_Ext_RKSJ_H_2, nullptr, 665, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, -4}, + -4}, {"Ext-RKSJ-V", g_FXCMAP_Ext_RKSJ_V_2, nullptr, 39, 0, FXCMAP_CMap::Range, - FXCMAP_CMap::None, -1}, - {"H", g_FXCMAP_H_1, nullptr, 118, 0, FXCMAP_CMap::Range, FXCMAP_CMap::None, - 0}, - {"V", g_FXCMAP_V_1, nullptr, 27, 0, FXCMAP_CMap::Range, FXCMAP_CMap::None, -1}, + {"H", g_FXCMAP_H_1, nullptr, 118, 0, FXCMAP_CMap::Range, 0}, + {"V", g_FXCMAP_V_1, nullptr, 27, 0, FXCMAP_CMap::Range, -1}, {"UniJIS-UCS2-H", g_FXCMAP_UniJIS_UCS2_H_4, nullptr, 9772, 0, - FXCMAP_CMap::Single, FXCMAP_CMap::None, 0}, + FXCMAP_CMap::Single, 0}, {"UniJIS-UCS2-V", g_FXCMAP_UniJIS_UCS2_V_4, nullptr, 251, 0, - FXCMAP_CMap::Single, FXCMAP_CMap::None, -1}, + FXCMAP_CMap::Single, -1}, {"UniJIS-UCS2-HW-H", g_FXCMAP_UniJIS_UCS2_HW_H_4, nullptr, 4, 0, - FXCMAP_CMap::Range, FXCMAP_CMap::None, -2}, + FXCMAP_CMap::Range, -2}, {"UniJIS-UCS2-HW-V", g_FXCMAP_UniJIS_UCS2_HW_V_4, nullptr, 199, 0, - FXCMAP_CMap::Range, FXCMAP_CMap::None, -1}, + FXCMAP_CMap::Range, -1}, {"UniJIS-UTF16-H", g_FXCMAP_UniJIS_UCS2_H_4, nullptr, 9772, 0, - FXCMAP_CMap::Single, FXCMAP_CMap::None, 0}, + FXCMAP_CMap::Single, 0}, {"UniJIS-UTF16-V", g_FXCMAP_UniJIS_UCS2_V_4, nullptr, 251, 0, - FXCMAP_CMap::Single, FXCMAP_CMap::None, -1}, + FXCMAP_CMap::Single, -1}, }; void CPDF_ModuleMgr::LoadEmbeddedJapan1CMaps() { |