summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/common
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/common')
-rw-r--r--xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp3
-rw-r--r--xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp
index cc1b435f00..4e33691e08 100644
--- a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp
+++ b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp
@@ -28,9 +28,6 @@
#include "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h"
#include "xfa/src/fxbarcode/utils.h"
-const int32_t CBC_WhiteRectangleDetector::INIT_SIZE = 30;
-const int32_t CBC_WhiteRectangleDetector::CORR = 1;
-
CBC_WhiteRectangleDetector::CBC_WhiteRectangleDetector(
CBC_CommonBitMatrix* image) {
m_image = image;
diff --git a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h
index ccd6a84a0d..4af04ac1fc 100644
--- a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h
+++ b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h
@@ -38,8 +38,9 @@ class CBC_WhiteRectangleDetector {
int32_t b,
int32_t fixed,
FX_BOOL horizontal);
- const static int32_t INIT_SIZE;
- const static int32_t CORR;
+
+ static const int32_t INIT_SIZE = 30;
+ static const int32_t CORR = 1;
CBC_CommonBitMatrix* m_image;
int32_t m_height;