diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-24 00:52:54 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-24 17:30:29 +0000 |
commit | e86d2f1acbd1e1d1ddae1a105b7c87f17b643f62 (patch) | |
tree | 8db3ad8176129a14c93930f0dbb4e94cd8779ac4 /fxbarcode/datamatrix/BC_EncoderContext.cpp | |
parent | 08f4b7762a4453818c76c680f5295986e21418ce (diff) | |
download | pdfium-e86d2f1acbd1e1d1ddae1a105b7c87f17b643f62.tar.xz |
Cleanup CBC_SymbolInfo::lookup().
Remove unused variants and simplify the one remaining variant.
Change-Id: I9b6e596b479f95319a3b69f5db2c4d1b2cff4ebf
Reviewed-on: https://pdfium-review.googlesource.com/5834
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_EncoderContext.cpp')
-rw-r--r-- | fxbarcode/datamatrix/BC_EncoderContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/datamatrix/BC_EncoderContext.cpp b/fxbarcode/datamatrix/BC_EncoderContext.cpp index b4719656b2..1c39be1aec 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.cpp +++ b/fxbarcode/datamatrix/BC_EncoderContext.cpp @@ -91,7 +91,7 @@ void CBC_EncoderContext::updateSymbolInfo(int32_t& e) { } void CBC_EncoderContext::updateSymbolInfo(int32_t len, int32_t& e) { if (!m_symbolInfo || len > m_symbolInfo->dataCapacity()) { - m_symbolInfo = CBC_SymbolInfo::lookup(len, m_shape, true, e); + m_symbolInfo = CBC_SymbolInfo::lookup(len, m_shape, e); if (e != BCExceptionNO) return; } |