diff options
author | Lei Zhang <thestig@chromium.org> | 2017-04-27 13:21:00 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-27 21:25:59 +0000 |
commit | 6714ff81237e36ce0a21dbbff3e0a549dfc561a7 (patch) | |
tree | 4d479e4cb214b17d2b41c88ff907500c6910d1a7 /fxbarcode/datamatrix/BC_TextEncoder.cpp | |
parent | f452f56021f2f1455a6f556836dc00ddda9114a9 (diff) | |
download | pdfium-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_TextEncoder.cpp')
-rw-r--r-- | fxbarcode/datamatrix/BC_TextEncoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_TextEncoder.cpp b/fxbarcode/datamatrix/BC_TextEncoder.cpp index a521acb6c3..53f92c3d28 100644 --- a/fxbarcode/datamatrix/BC_TextEncoder.cpp +++ b/fxbarcode/datamatrix/BC_TextEncoder.cpp @@ -20,6 +20,8 @@ * limitations under the License. */ +#include "fxbarcode/datamatrix/BC_TextEncoder.h" + #include "fxbarcode/BC_Dimension.h" #include "fxbarcode/common/BC_CommonBitMatrix.h" #include "fxbarcode/datamatrix/BC_C40Encoder.h" @@ -28,7 +30,6 @@ #include "fxbarcode/datamatrix/BC_HighLevelEncoder.h" #include "fxbarcode/datamatrix/BC_SymbolInfo.h" #include "fxbarcode/datamatrix/BC_SymbolShapeHint.h" -#include "fxbarcode/datamatrix/BC_TextEncoder.h" CBC_TextEncoder::CBC_TextEncoder() {} CBC_TextEncoder::~CBC_TextEncoder() {} @@ -92,6 +93,6 @@ int32_t CBC_TextEncoder::encodeChar(wchar_t c, CFX_WideString& sb, int32_t& e) { return -1; return len; } - CBC_HighLevelEncoder::illegalCharacter(c, e); + e = BCExceptionIllegalArgument; return -1; } |