| Index: xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp
|
| diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp
|
| index a5d61b9210ee57a8170338e37717be15aa2c350d..403c34c5fd97053b2c762cb8273718040b87d009 100644
|
| --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp
|
| +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp
|
| @@ -42,7 +42,7 @@ CBC_DetectionResultRowIndicatorColumn::
|
| void CBC_DetectionResultRowIndicatorColumn::setRowNumbers() {
|
| for (int32_t i = 0; i < m_codewords->GetSize(); i++) {
|
| CBC_Codeword* codeword = (CBC_Codeword*)m_codewords->GetAt(i);
|
| - if (codeword != NULL) {
|
| + if (codeword) {
|
| codeword->setRowNumberAsRowIndicatorColumn();
|
| }
|
| }
|
| @@ -119,7 +119,7 @@ CFX_Int32Array* CBC_DetectionResultRowIndicatorColumn::getRowHeights(
|
| result->SetSize(barcodeMetadata->getRowCount());
|
| for (int32_t i = 0; i < getCodewords()->GetSize(); i++) {
|
| CBC_Codeword* codeword = (CBC_Codeword*)getCodewords()->GetAt(i);
|
| - if (codeword != NULL) {
|
| + if (codeword) {
|
| result->SetAt(codeword->getRowNumber(),
|
| result->GetAt(codeword->getRowNumber()) + 1);
|
| }
|
|
|