diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-23 14:37:27 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-23 22:01:41 +0000 |
commit | a861a7b4696e0ffd4be73c63d7ed3611e461b1c1 (patch) | |
tree | 793a0dae4895fa18848f17d76933552411dbe217 /fxbarcode/datamatrix/BC_SymbolInfo.h | |
parent | 258909cda89cb478ed44d56ca3e88d86f9dd4733 (diff) | |
download | pdfium-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_SymbolInfo.h')
-rw-r--r-- | fxbarcode/datamatrix/BC_SymbolInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/datamatrix/BC_SymbolInfo.h b/fxbarcode/datamatrix/BC_SymbolInfo.h index 18d7b68f09..7b536eccc7 100644 --- a/fxbarcode/datamatrix/BC_SymbolInfo.h +++ b/fxbarcode/datamatrix/BC_SymbolInfo.h @@ -11,14 +11,14 @@ #include "core/fxcrt/fx_system.h" #include "fxbarcode/datamatrix/BC_SymbolShapeHint.h" -class CBC_SymbolInfo : public CBC_SymbolShapeHint { +class CBC_SymbolInfo { public: CBC_SymbolInfo(int32_t dataCapacity, int32_t errorCodewords, int32_t matrixWidth, int32_t matrixHeight, int32_t dataRegions); - ~CBC_SymbolInfo() override; + virtual ~CBC_SymbolInfo(); static void Initialize(); static void Finalize(); @@ -41,7 +41,7 @@ class CBC_SymbolInfo : public CBC_SymbolShapeHint { int32_t getSymbolWidth() const; int32_t getSymbolHeight() const; int32_t getCodewordCount() const; - int32_t getInterleavedBlockCount() const; + virtual int32_t getInterleavedBlockCount() const; int32_t getDataLengthForInterleavedBlock(int32_t index) const; int32_t getErrorLengthForInterleavedBlock(int32_t index) const; |