summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_EncoderContext.h
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_EncoderContext.h
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_EncoderContext.h')
-rw-r--r--fxbarcode/datamatrix/BC_EncoderContext.h6
1 files changed, 2 insertions, 4 deletions
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;
};