summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_cmaps/CNS1
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-07 10:46:22 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-07 10:46:23 -0700
commit4997b22f84307521a62838f874928bf56cd3423c (patch)
treead11d99ac0a491ee222e9d0a42ec3b6ad3354e2a /core/fpdfapi/fpdf_cmaps/CNS1
parent0687e76dc259c678b3f29a6608331f07ffd8f1e2 (diff)
downloadpdfium-4997b22f84307521a62838f874928bf56cd3423c.tar.xz
Get rid of NULLs in core/
Review-Url: https://codereview.chromium.org/2032613003
Diffstat (limited to 'core/fpdfapi/fpdf_cmaps/CNS1')
-rw-r--r--core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp b/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp
index 119c42b5c1..2da1197787 100644
--- a/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp
+++ b/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp
@@ -14,33 +14,33 @@
static const FXCMAP_CMap g_FXCMAP_CNS1_cmaps[] = {
{"B5pc-H", FXCMAP_CMap::Range, g_FXCMAP_B5pc_H_0, 247, FXCMAP_CMap::None,
- NULL, 0, 0},
+ nullptr, 0, 0},
{"B5pc-V", FXCMAP_CMap::Range, g_FXCMAP_B5pc_V_0, 12, FXCMAP_CMap::None,
- NULL, 0, -1},
+ nullptr, 0, -1},
{"HKscs-B5-H", FXCMAP_CMap::Range, g_FXCMAP_HKscs_B5_H_5, 1210,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"HKscs-B5-V", FXCMAP_CMap::Range, g_FXCMAP_HKscs_B5_V_5, 13,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"ETen-B5-H", FXCMAP_CMap::Range, g_FXCMAP_ETen_B5_H_0, 254,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"ETen-B5-V", FXCMAP_CMap::Range, g_FXCMAP_ETen_B5_V_0, 13,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"ETenms-B5-H", FXCMAP_CMap::Range, g_FXCMAP_ETenms_B5_H_0, 1,
- FXCMAP_CMap::None, NULL, 0, -2},
+ FXCMAP_CMap::None, nullptr, 0, -2},
{"ETenms-B5-V", FXCMAP_CMap::Range, g_FXCMAP_ETenms_B5_V_0, 18,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"CNS-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_CNS_EUC_H_0, 157,
FXCMAP_CMap::Range, g_FXCMAP_CNS_EUC_H_0_DWord, 238, 0},
{"CNS-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_CNS_EUC_V_0, 180,
FXCMAP_CMap::Range, g_FXCMAP_CNS_EUC_V_0_DWord, 261, 0},
{"UniCNS-UCS2-H", FXCMAP_CMap::Range, g_FXCMAP_UniCNS_UCS2_H_3, 16418,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"UniCNS-UCS2-V", FXCMAP_CMap::Range, g_FXCMAP_UniCNS_UCS2_V_3, 13,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"UniCNS-UTF16-H", FXCMAP_CMap::Single, g_FXCMAP_UniCNS_UTF16_H_0, 14557,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"UniCNS-UTF16-V", FXCMAP_CMap::Range, g_FXCMAP_UniCNS_UCS2_V_3, 13,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
};
void CPDF_ModuleMgr::LoadEmbeddedCNS1CMaps() {