From 6dc1d7753691c0ff2f390e8ffd95a3182064487e Mon Sep 17 00:00:00 2001 From: thestig Date: Thu, 9 Jun 2016 18:39:33 -0700 Subject: Get rid of NULLs in xfa/fxbarcode/ Review-Url: https://codereview.chromium.org/2048983002 --- xfa/fxbarcode/qrcode/BC_QRCoder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fxbarcode/qrcode/BC_QRCoder.cpp') diff --git a/xfa/fxbarcode/qrcode/BC_QRCoder.cpp b/xfa/fxbarcode/qrcode/BC_QRCoder.cpp index 9e9ad06817..580ea7ded1 100644 --- a/xfa/fxbarcode/qrcode/BC_QRCoder.cpp +++ b/xfa/fxbarcode/qrcode/BC_QRCoder.cpp @@ -27,8 +27,8 @@ #include "xfa/fxbarcode/utils.h" CBC_QRCoder::CBC_QRCoder() { - m_mode = NULL; - m_ecLevel = NULL; + m_mode = nullptr; + m_ecLevel = nullptr; m_version = -1; m_matrixWidth = -1; m_maskPattern = -1; @@ -36,7 +36,7 @@ CBC_QRCoder::CBC_QRCoder() { m_numDataBytes = -1; m_numECBytes = -1; m_numRSBlocks = -1; - m_matrix = NULL; + m_matrix = nullptr; } CBC_QRCoder::~CBC_QRCoder() { delete m_matrix; -- cgit v1.2.3