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

Unified Diff: xfa/fxbarcode/common/BC_CommonDecoderResult.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/common/BC_CommonCharacterSetECI.cpp ('k') | xfa/fxbarcode/common/BC_CommonECI.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/common/BC_CommonDecoderResult.cpp
diff --git a/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp b/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp
index 45aff1cae11f4107c0efb9bdb266510c738fa3ee..ee131e53599839984886ef2f4dca4c35d1d42c9a 100644
--- a/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp
+++ b/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp
@@ -40,7 +40,7 @@ void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes,
m_text = text;
m_byteSegments.Copy(byteSegments);
m_ecLevel = ecLevel;
- m_other = NULL;
+ m_other = nullptr;
}
void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes,
const CFX_ByteString& text,
@@ -53,7 +53,7 @@ void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes,
m_rawBytes.Copy(rawBytes);
m_text = text;
m_pdf417ecLevel = ecLevel;
- m_other = NULL;
+ m_other = nullptr;
}
void CBC_CommonDecoderResult::setOther(CBC_PDF417ResultMetadata* other) {
m_other = other;
« no previous file with comments | « xfa/fxbarcode/common/BC_CommonCharacterSetECI.cpp ('k') | xfa/fxbarcode/common/BC_CommonECI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698