summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/common/BC_CommonBitMatrix.cpp')
-rw-r--r--xfa/fxbarcode/common/BC_CommonBitMatrix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp b/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp
index 4fff7b1a84..e52f3dca04 100644
--- a/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp
+++ b/xfa/fxbarcode/common/BC_CommonBitMatrix.cpp
@@ -28,7 +28,7 @@ CBC_CommonBitMatrix::CBC_CommonBitMatrix() {
m_width = 0;
m_height = 0;
m_rowSize = 0;
- m_bits = NULL;
+ m_bits = nullptr;
}
void CBC_CommonBitMatrix::Init(int32_t dimension) {
m_width = dimension;
@@ -103,8 +103,8 @@ void CBC_CommonBitMatrix::SetRegion(int32_t left,
}
CBC_CommonBitArray* CBC_CommonBitMatrix::GetRow(int32_t y,
CBC_CommonBitArray* row) {
- CBC_CommonBitArray* rowArray = NULL;
- if (row == NULL || row->GetSize() < m_width) {
+ CBC_CommonBitArray* rowArray = nullptr;
+ if (!row || row->GetSize() < m_width) {
rowArray = new CBC_CommonBitArray(m_width);
} else {
rowArray = new CBC_CommonBitArray(row);