summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-24 00:52:54 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-24 17:30:29 +0000
commite86d2f1acbd1e1d1ddae1a105b7c87f17b643f62 (patch)
tree8db3ad8176129a14c93930f0dbb4e94cd8779ac4 /fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
parent08f4b7762a4453818c76c680f5295986e21418ce (diff)
downloadpdfium-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_DataMatrixWriter.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_DataMatrixWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp b/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
index 0177053941..19b6346f0a 100644
--- a/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
+++ b/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
@@ -123,7 +123,7 @@ uint8_t* CBC_DataMatrixWriter::Encode(const CFX_WideString& contents,
if (e != BCExceptionNO)
return nullptr;
CBC_SymbolInfo* symbolInfo =
- CBC_SymbolInfo::lookup(encoded.GetLength(), shape, true, e);
+ CBC_SymbolInfo::lookup(encoded.GetLength(), shape, e);
if (e != BCExceptionNO)
return nullptr;
CFX_WideString codewords =