diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-12 21:49:50 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-12 21:49:50 +0000 |
commit | 53c4ba4011ab59ecc8406e144df8aaaa1169801b (patch) | |
tree | e35e5a2e9ae3dbc9e57d2ad28ded618e23019988 /fxbarcode/datamatrix/BC_C40Encoder.cpp | |
parent | 14e77443e92ce3fdf1cebe85f8f5c8fe705a1558 (diff) | |
download | pdfium-53c4ba4011ab59ecc8406e144df8aaaa1169801b.tar.xz |
Add jumbo build support for fxbarcode.
BUG=pdfium:964
Change-Id: Ic306a374bc9b710e2ac043eebe43504e5bd75926
Reviewed-on: https://pdfium-review.googlesource.com/22870
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_C40Encoder.cpp')
-rw-r--r-- | fxbarcode/datamatrix/BC_C40Encoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_C40Encoder.cpp b/fxbarcode/datamatrix/BC_C40Encoder.cpp index 348315e149..bb8b11cc50 100644 --- a/fxbarcode/datamatrix/BC_C40Encoder.cpp +++ b/fxbarcode/datamatrix/BC_C40Encoder.cpp @@ -31,7 +31,7 @@ namespace { -WideString EncodeToCodewords(const WideString& sb, int32_t startPos) { +WideString EncodeToC40Codewords(const WideString& sb, int32_t startPos) { wchar_t c1 = sb[startPos]; wchar_t c2 = sb[startPos + 1]; wchar_t c3 = sb[startPos + 2]; @@ -99,7 +99,7 @@ void CBC_C40Encoder::Encode(CBC_EncoderContext& context, int32_t& e) { } void CBC_C40Encoder::writeNextTriplet(CBC_EncoderContext& context, WideString& buffer) { - context.writeCodewords(EncodeToCodewords(buffer, 0)); + context.writeCodewords(EncodeToC40Codewords(buffer, 0)); buffer.Delete(0, 3); } void CBC_C40Encoder::handleEOD(CBC_EncoderContext& context, |