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>
diff --git a/fxbarcode/datamatrix/BC_SymbolInfo.h b/fxbarcode/datamatrix/BC_SymbolInfo.h
index 18d7b68..7b536ec 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 @@
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;