summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp')
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp b/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp
index 07d8d7187a..7f605c3ea5 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp
@@ -79,7 +79,7 @@ CBC_QRCoderFormatInformation::DoDecodeFormatInformation(
int32_t const* decodeInfo = &FORMAT_INFO_DECODE_LOOKUP[i][0];
int32_t targetInfo = decodeInfo[0];
if (targetInfo == maskedFormatInfo) {
- return FX_NEW CBC_QRCoderFormatInformation(decodeInfo[1]);
+ return new CBC_QRCoderFormatInformation(decodeInfo[1]);
}
int32_t bitsDifference = NumBitsDiffering(maskedFormatInfo, targetInfo);
if (bitsDifference < bestDifference) {
@@ -88,7 +88,7 @@ CBC_QRCoderFormatInformation::DoDecodeFormatInformation(
}
}
if (bestDifference <= 3) {
- return FX_NEW CBC_QRCoderFormatInformation(bestFormatInfo);
+ return new CBC_QRCoderFormatInformation(bestFormatInfo);
}
return NULL;
}