diff options
Diffstat (limited to 'xfa/fxbarcode/common/BC_CommonBitMatrix.cpp')
-rw-r--r-- | xfa/fxbarcode/common/BC_CommonBitMatrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp b/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp index e52f3dca04..b9b218c60f 100644 --- a/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp +++ b/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp @@ -49,7 +49,7 @@ void CBC_CommonBitMatrix::Init(int32_t width, int32_t height) { CBC_CommonBitMatrix::~CBC_CommonBitMatrix() { FX_Free(m_bits); } -FX_BOOL CBC_CommonBitMatrix::Get(int32_t x, int32_t y) { +bool CBC_CommonBitMatrix::Get(int32_t x, int32_t y) { int32_t offset = y * m_rowSize + (x >> 5); if (offset >= m_rowSize * m_height || offset < 0) { return false; |