From 6dc1d7753691c0ff2f390e8ffd95a3182064487e Mon Sep 17 00:00:00 2001 From: thestig Date: Thu, 9 Jun 2016 18:39:33 -0700 Subject: Get rid of NULLs in xfa/fxbarcode/ Review-Url: https://codereview.chromium.org/2048983002 --- xfa/fxbarcode/datamatrix/BC_SymbolInfo.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'xfa/fxbarcode/datamatrix/BC_SymbolInfo.h') diff --git a/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h b/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h index 7885c8da74..64270dd9ac 100644 --- a/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h +++ b/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h @@ -54,19 +54,12 @@ class CBC_SymbolInfo : public CBC_SymbolShapeHint { int32_t getDataLengthForInterleavedBlock(int32_t index); int32_t getErrorLengthForInterleavedBlock(int32_t index); - public: int32_t m_dataCapacity; int32_t m_errorCodewords; int32_t m_matrixWidth; int32_t m_matrixHeight; int32_t m_rsBlockData; int32_t m_rsBlockError; - static CBC_SymbolInfo* m_PROD_SYMBOLS[30]; - - private: - static CBC_SymbolInfo* m_symbols[30]; - FX_BOOL m_rectangular; - int32_t m_dataRegions; private: CBC_SymbolInfo(FX_BOOL rectangular, @@ -77,6 +70,9 @@ class CBC_SymbolInfo : public CBC_SymbolShapeHint { int32_t dataRegions, int32_t rsBlockData, int32_t rsBlockError); + + FX_BOOL m_rectangular; + int32_t m_dataRegions; }; #endif // XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ -- cgit v1.2.3