From a861a7b4696e0ffd4be73c63d7ed3611e461b1c1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 23 May 2017 14:37:27 -0700 Subject: 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 Reviewed-by: Tom Sepez --- fxbarcode/datamatrix/BC_EncoderContext.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h') diff --git a/fxbarcode/datamatrix/BC_EncoderContext.h b/fxbarcode/datamatrix/BC_EncoderContext.h index e2259334e8..6cb2b42fa9 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/fxbarcode/datamatrix/BC_EncoderContext.h @@ -12,12 +12,12 @@ class CBC_SymbolInfo; -class CBC_EncoderContext : public CBC_SymbolShapeHint { +class CBC_EncoderContext { public: CBC_EncoderContext(const CFX_WideString& msg, const CFX_WideString& ecLevel, int32_t& e); - ~CBC_EncoderContext() override; + ~CBC_EncoderContext(); void setSymbolShape(SymbolShapeHint shape); void setSkipAtEnd(int32_t count); @@ -34,7 +34,6 @@ class CBC_EncoderContext : public CBC_SymbolShapeHint { void updateSymbolInfo(int32_t len, int32_t& e); void resetSymbolInfo(); - public: CFX_WideString m_msg; CFX_WideString m_codewords; int32_t m_pos; @@ -44,7 +43,6 @@ class CBC_EncoderContext : public CBC_SymbolShapeHint { private: int32_t getTotalMessageCharCount(); - private: SymbolShapeHint m_shape; int32_t m_skipAtEnd; }; -- cgit v1.2.3