summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_cmaps/GB1
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/GB1
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/GB1')
-rw-r--r--core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp b/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp
index 34a43858b4..35e4894382 100644
--- a/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp
+++ b/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp
@@ -14,33 +14,33 @@
static const FXCMAP_CMap g_FXCMAP_GB1_cmaps[] = {
{"GB-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_GB_EUC_H_0, 90, FXCMAP_CMap::None,
- NULL, 0, 0},
+ nullptr, 0, 0},
{"GB-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_GB_EUC_V_0, 20, FXCMAP_CMap::None,
- NULL, 0, -1},
+ nullptr, 0, -1},
{"GBpc-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_GBpc_EUC_H_0, 91,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"GBpc-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_GBpc_EUC_V_0, 20,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"GBK-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_GBK_EUC_H_2, 4071,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"GBK-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_GBK_EUC_V_2, 20,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"GBKp-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_GBKp_EUC_H_2, 4070,
- FXCMAP_CMap::None, NULL, 0, -2},
+ FXCMAP_CMap::None, nullptr, 0, -2},
{"GBKp-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_GBKp_EUC_V_2, 20,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"GBK2K-H", FXCMAP_CMap::Range, g_FXCMAP_GBK2K_H_5, 4071,
FXCMAP_CMap::Single, g_FXCMAP_GBK2K_H_5_DWord, 1017, -4},
{"GBK2K-V", FXCMAP_CMap::Range, g_FXCMAP_GBK2K_V_5, 41, FXCMAP_CMap::None,
- NULL, 0, -1},
+ nullptr, 0, -1},
{"UniGB-UCS2-H", FXCMAP_CMap::Range, g_FXCMAP_UniGB_UCS2_H_4, 13825,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"UniGB-UCS2-V", FXCMAP_CMap::Range, g_FXCMAP_UniGB_UCS2_V_4, 24,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
{"UniGB-UTF16-H", FXCMAP_CMap::Range, g_FXCMAP_UniGB_UCS2_H_4, 13825,
- FXCMAP_CMap::None, NULL, 0, 0},
+ FXCMAP_CMap::None, nullptr, 0, 0},
{"UniGB-UTF16-V", FXCMAP_CMap::Range, g_FXCMAP_UniGB_UCS2_V_4, 24,
- FXCMAP_CMap::None, NULL, 0, -1},
+ FXCMAP_CMap::None, nullptr, 0, -1},
};
void CPDF_ModuleMgr::LoadEmbeddedGB1CMaps() {