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

Unified Diff: xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.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
Index: xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp
diff --git a/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp b/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp
index a41e46afc92383cb970116d17183605a169bc03b..9371dc42e85a1ca919360ec93815768a8740ffa3 100644
--- a/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp
+++ b/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp
@@ -90,7 +90,7 @@ CBC_DataMatrixDataBlock::GetDataBlocks(CFX_ByteArray* rawCodewords,
}
if (rawCodewordsOffset != rawCodewords->GetSize()) {
e = BCExceptionIllegalArgument;
- return NULL;
+ return nullptr;
}
return result.release();
}
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp ('k') | xfa/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698