diff options
author | Lei Zhang <thestig@chromium.org> | 2017-04-27 23:58:03 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-28 19:12:30 +0000 |
commit | 60cd033adf6c469ff47bdaf85a66b5817fdd188b (patch) | |
tree | a91b3cee7aaeb0dc650fd857bfd3476da848eacf /fxbarcode/datamatrix/BC_EncoderContext.h | |
parent | 7831f57f04ad3f581222b0a23eeb736601f98e96 (diff) | |
download | pdfium-60cd033adf6c469ff47bdaf85a66b5817fdd188b.tar.xz |
Remove dead dimensions code in fxbarcode.chromium/3084
Remove more exceptions.
Change-Id: I3b8b8b9837b0010b1e0060ddd56e93c78f9f0fb5
Reviewed-on: https://pdfium-review.googlesource.com/4410
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h')
-rw-r--r-- | fxbarcode/datamatrix/BC_EncoderContext.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/fxbarcode/datamatrix/BC_EncoderContext.h b/fxbarcode/datamatrix/BC_EncoderContext.h index 6be824116f..e2259334e8 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/fxbarcode/datamatrix/BC_EncoderContext.h @@ -7,25 +7,23 @@ #ifndef FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ #define FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ +#include "core/fxcrt/cfx_widestring.h" #include "fxbarcode/datamatrix/BC_SymbolShapeHint.h" class CBC_SymbolInfo; -class CBC_Dimension; class CBC_EncoderContext : public CBC_SymbolShapeHint { public: - CBC_EncoderContext(const CFX_WideString msg, - CFX_WideString ecLevel, + CBC_EncoderContext(const CFX_WideString& msg, + const CFX_WideString& ecLevel, int32_t& e); ~CBC_EncoderContext() override; void setSymbolShape(SymbolShapeHint shape); - void setSizeConstraints(CBC_Dimension* minSize, CBC_Dimension* maxSize); - CFX_WideString getMessage(); void setSkipAtEnd(int32_t count); wchar_t getCurrentChar(); wchar_t getCurrent(); - void writeCodewords(CFX_WideString codewords); + void writeCodewords(const CFX_WideString& codewords); void writeCodeword(wchar_t codeword); int32_t getCodewordCount(); void signalEncoderChange(int32_t encoding); @@ -48,8 +46,6 @@ class CBC_EncoderContext : public CBC_SymbolShapeHint { private: SymbolShapeHint m_shape; - CBC_Dimension* m_minSize; - CBC_Dimension* m_maxSize; int32_t m_skipAtEnd; }; |