summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/datamatrix
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-09 09:59:23 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-03-09 09:59:23 -0500
commit3ebd121d45ceb08918a3dcb5b3b7ac29448c862f (patch)
tree361d5fa0f9be7484cce4aace1b9cc18545046611 /xfa/src/fxbarcode/datamatrix
parent317758574e173367b41928a1575d70600c6b6ea8 (diff)
downloadpdfium-3ebd121d45ceb08918a3dcb5b3b7ac29448c862f.tar.xz
Review and cleanup lint warnings.
This CL goes through the remaining list of list warnings and records why they are currently blacklisted, or fixes and enables them. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1773733002 .
Diffstat (limited to 'xfa/src/fxbarcode/datamatrix')
-rw-r--r--xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h22
-rw-r--r--xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h3
2 files changed, 13 insertions, 12 deletions
diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h
index ba23976842..eba1828d19 100644
--- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h
+++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h
@@ -41,18 +41,18 @@ class CBC_DataMatrixDecodedBitStreamParser {
static uint8_t Unrandomize255State(int32_t randomizedBase256Codeword,
int32_t base256CodewordPosition);
- const static FX_CHAR C40_BASIC_SET_CHARS[];
- const static FX_CHAR C40_SHIFT2_SET_CHARS[];
+ static const FX_CHAR C40_BASIC_SET_CHARS[];
+ static const FX_CHAR C40_SHIFT2_SET_CHARS[];
- const static FX_CHAR TEXT_BASIC_SET_CHARS[];
- const static FX_CHAR TEXT_SHIFT3_SET_CHARS[];
- const static int32_t PAD_ENCODE;
- const static int32_t ASCII_ENCODE;
- const static int32_t C40_ENCODE;
- const static int32_t TEXT_ENCODE;
- const static int32_t ANSIX12_ENCODE;
- const static int32_t EDIFACT_ENCODE;
- const static int32_t BASE256_ENCODE;
+ static const FX_CHAR TEXT_BASIC_SET_CHARS[];
+ static const FX_CHAR TEXT_SHIFT3_SET_CHARS[];
+ static const int32_t PAD_ENCODE;
+ static const int32_t ASCII_ENCODE;
+ static const int32_t C40_ENCODE;
+ static const int32_t TEXT_ENCODE;
+ static const int32_t ANSIX12_ENCODE;
+ static const int32_t EDIFACT_ENCODE;
+ static const int32_t BASE256_ENCODE;
};
#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h
index 123f75101b..34cbcb9418 100644
--- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h
+++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h
@@ -69,9 +69,10 @@ class CBC_DataMatrixDetector {
virtual void Init(int32_t& e);
private:
+ static const int32_t INTEGERS[5];
+
CBC_CommonBitMatrix* m_image;
CBC_WhiteRectangleDetector* m_rectangleDetector;
- const static int32_t INTEGERS[5];
};
#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_