summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-23 14:37:27 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-23 22:01:41 +0000
commita861a7b4696e0ffd4be73c63d7ed3611e461b1c1 (patch)
tree793a0dae4895fa18848f17d76933552411dbe217 /fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
parent258909cda89cb478ed44d56ca3e88d86f9dd4733 (diff)
downloadpdfium-a861a7b4696e0ffd4be73c63d7ed3611e461b1c1.tar.xz
Remove useless CBC_SymbolShapeHint.
Mark some methods as virtual/override in formerly CBC_SymbolShapeHint derived classes. Change-Id: Ia6d83e0b2c63c8fb440bc1d5beb258a796e1d42f Reviewed-on: https://pdfium-review.googlesource.com/5738 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_DataMatrixWriter.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_DataMatrixWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp b/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
index 075449377f..0177053941 100644
--- a/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
+++ b/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp
@@ -115,8 +115,7 @@ uint8_t* CBC_DataMatrixWriter::Encode(const CFX_WideString& contents,
if (outWidth < 0 || outHeight < 0)
return nullptr;
- CBC_SymbolShapeHint::SymbolShapeHint shape =
- CBC_SymbolShapeHint::FORCE_SQUARE;
+ SymbolShapeHint shape = FORCE_SQUARE;
CFX_WideString ecLevel;
int32_t e = BCExceptionNO;
CFX_WideString encoded =