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

Unified Diff: xfa/fxbarcode/common/BC_WhiteRectangleDetector.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/common/BC_WhiteRectangleDetector.cpp
diff --git a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.cpp b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.cpp
index f64abb61c08363fec35eb3d8bc8e15dfabcd0523..45ffd638583a82e76e84fcdd99903e169b439a7c 100644
--- a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.cpp
+++ b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.cpp
@@ -197,7 +197,7 @@ CBC_ResultPoint* CBC_WhiteRectangleDetector::GetBlackPointOnSegment(
return new CBC_ResultPoint((FX_FLOAT)x, (FX_FLOAT)y);
}
}
- return NULL;
+ return nullptr;
}
int32_t CBC_WhiteRectangleDetector::DistanceL2(FX_FLOAT aX,
FX_FLOAT aY,
« no previous file with comments | « xfa/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp ('k') | xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698