summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/datamatrix
diff options
context:
space:
mode:
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_