summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-07-14 17:16:13 -0700
committerTom Sepez <tsepez@chromium.org>2015-07-14 17:16:13 -0700
commit287945f27b0e54df781b1f6844a149630aaf275b (patch)
tree41c7ec29ae962c8f85d640285d987a32180bc047 /core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp
parentb2552025f977873cc96bdfd7144329623159ad33 (diff)
downloadpdfium-287945f27b0e54df781b1f6844a149630aaf275b.tar.xz
Merge to XFA: Move extern cmap declarations from .cpp files.
(cherry picked from commit 759247991b5f1df71335294e6bfe3e3fe7aec7b4) Original Review URL: https://codereview.chromium.org/1221503005 . TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1235253004 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp')
-rw-r--r--core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp b/core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp
index 1124bcfb9e..833cf2f77e 100644
--- a/core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp
+++ b/core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp
@@ -4,7 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-extern const unsigned short g_FXCMAP_GBK2K_V_5[41 * 3] = {
+#include "cmaps_gb1.h"
+
+const FX_WORD g_FXCMAP_GBK2K_V_5[41 * 3] = {
0xA1A2, 0xA1A2, 0x023F, 0xA1A3, 0xA1A3, 0x023E, 0xA1AA, 0xA1AA, 0x0256,
0xA1AB, 0xA1AC, 0x1E18, 0xA1AD, 0xA1AD, 0x0257, 0xA1B2, 0xA1BF, 0x0246,
0xA1FE, 0xA1FE, 0x1E1A, 0xA3A1, 0xA3A1, 0x0242, 0xA3A8, 0xA3A9, 0x0244,