Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: xfa/fxbarcode/datamatrix/BC_SymbolInfo.h

Issue 2048983002: Get rid of NULLs in xfa/fxbarcode/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp ('k') | xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/datamatrix/BC_SymbolInfo.h
diff --git a/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h b/xfa/fxbarcode/datamatrix/BC_SymbolInfo.h
index 7885c8da746c928a63e2195ce4ca76b56cfb0f08..64270dd9ac01b52ca33e531c29ac632ebff8543b 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_
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp ('k') | xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698