summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-09 18:39:33 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 18:39:33 -0700
commit6dc1d7753691c0ff2f390e8ffd95a3182064487e (patch)
tree43d77664973a76c107832ae7b3c3e0f04bba1fe0 /xfa/fxbarcode/datamatrix/BC_SymbolInfo.h
parentfcf61b39ee597c73e80ba789833fb7fe49878422 (diff)
downloadpdfium-6dc1d7753691c0ff2f390e8ffd95a3182064487e.tar.xz
Get rid of NULLs in xfa/fxbarcode/
Review-Url: https://codereview.chromium.org/2048983002
Diffstat (limited to 'xfa/fxbarcode/datamatrix/BC_SymbolInfo.h')
-rw-r--r--xfa/fxbarcode/datamatrix/BC_SymbolInfo.h10
1 files changed, 3 insertions, 7 deletions
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_