Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: xfa/fxbarcode/qrcode/BC_QRCoder.cpp

Issue 2048983002: Get rid of NULLs in xfa/fxbarcode/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp ('k') | xfa/fxbarcode/qrcode/BC_QRCoderDecoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/qrcode/BC_QRCoder.cpp
diff --git a/xfa/fxbarcode/qrcode/BC_QRCoder.cpp b/xfa/fxbarcode/qrcode/BC_QRCoder.cpp
index 9e9ad0681774f1b63a5fd3f735bf12e89c86cf1c..580ea7ded14489776cdca0ae596000e08606b177 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;
« no previous file with comments | « xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp ('k') | xfa/fxbarcode/qrcode/BC_QRCoderDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698