summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-27 13:21:00 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-27 21:25:59 +0000
commit6714ff81237e36ce0a21dbbff3e0a549dfc561a7 (patch)
tree4d479e4cb214b17d2b41c88ff907500c6910d1a7 /fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
parentf452f56021f2f1455a6f556836dc00ddda9114a9 (diff)
downloadpdfium-6714ff81237e36ce0a21dbbff3e0a549dfc561a7.tar.xz
Remove CBC_HighLevelEncoder::illegalCharacter().
It always return a failure. Change-Id: Ib318bbdb99b3ea38fba8ceb5733c6dcb8f14bbbf Reviewed-on: https://pdfium-review.googlesource.com/4590 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_HighLevelEncoder.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_HighLevelEncoder.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp b/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
index cce9749749..f9fb080be3 100644
--- a/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
+++ b/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
@@ -302,9 +302,7 @@ int32_t CBC_HighLevelEncoder::determineConsecutiveDigitCount(CFX_WideString msg,
}
return count;
}
-void CBC_HighLevelEncoder::illegalCharacter(wchar_t c, int32_t& e) {
- e = BCExceptionIllegalArgument;
-}
+
wchar_t CBC_HighLevelEncoder::randomize253State(wchar_t ch,
int32_t codewordPosition) {
int32_t pseudoRandom = ((149 * codewordPosition) % 253) + 1;