diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-26 21:02:52 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-26 21:02:52 +0000 |
commit | 0bc02c152bd0c178a5946196e2054a5cdc7650f4 (patch) | |
tree | 4a651b86f0d240c4996ea77f041274d241e59c93 /fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h | |
parent | 611431decd9a5b7dd456355fe763b2dee9c2a1a1 (diff) | |
download | pdfium-0bc02c152bd0c178a5946196e2054a5cdc7650f4.tar.xz |
Add some more missing consts.chromium/3356
Get things out of the .data section.
Change-Id: I375cf00186a3d5d8d10f5d147bd4b692f5db3683
Reviewed-on: https://pdfium-review.googlesource.com/27130
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h')
-rw-r--r-- | fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h b/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h index 2701c810fb..5e0ab52961 100644 --- a/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h +++ b/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h @@ -22,19 +22,21 @@ class CBC_PDF417HighLevelEncoder { static void Finalize(); private: - static int32_t TEXT_COMPACTION; - static int32_t BYTE_COMPACTION; - static int32_t NUMERIC_COMPACTION; - static int32_t SUBMODE_PUNCTUATION; - static int32_t LATCH_TO_TEXT; - static int32_t LATCH_TO_BYTE_PADDED; - static int32_t LATCH_TO_NUMERIC; - static int32_t SHIFT_TO_BYTE; - static int32_t LATCH_TO_BYTE; - static uint8_t TEXT_MIXED_RAW[]; - static uint8_t TEXT_PUNCTUATION_RAW[]; + static const int32_t TEXT_COMPACTION; + static const int32_t BYTE_COMPACTION; + static const int32_t NUMERIC_COMPACTION; + static const int32_t SUBMODE_PUNCTUATION; + static const int32_t LATCH_TO_TEXT; + static const int32_t LATCH_TO_BYTE_PADDED; + static const int32_t LATCH_TO_NUMERIC; + static const int32_t SHIFT_TO_BYTE; + static const int32_t LATCH_TO_BYTE; + static const uint8_t TEXT_MIXED_RAW[]; + static const uint8_t TEXT_PUNCTUATION_RAW[]; + static int32_t MIXED[128]; static int32_t PUNCTUATION[128]; + static int32_t encodeText(WideString msg, int32_t startpos, int32_t count, |