diff options
author | thestig <thestig@chromium.org> | 2016-06-09 18:39:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 18:39:33 -0700 |
commit | 6dc1d7753691c0ff2f390e8ffd95a3182064487e (patch) | |
tree | 43d77664973a76c107832ae7b3c3e0f04bba1fe0 /xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp | |
parent | fcf61b39ee597c73e80ba789833fb7fe49878422 (diff) | |
download | pdfium-6dc1d7753691c0ff2f390e8ffd95a3182064487e.tar.xz |
Get rid of NULLs in xfa/fxbarcode/
Review-Url: https://codereview.chromium.org/2048983002
Diffstat (limited to 'xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp')
-rw-r--r-- | xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp b/xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp index 0eb4c990b4..331af7e887 100644 --- a/xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp +++ b/xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp @@ -141,7 +141,7 @@ CFX_Int32Array* CBC_OnedCode39Reader::FindAsteriskPattern( FX_BOOL bT1 = row->IsRange(std::max(0, patternStart - (i - patternStart) / 2), patternStart, FALSE, e); - BC_EXCEPTION_CHECK_ReturnValue(e, NULL); + BC_EXCEPTION_CHECK_ReturnValue(e, nullptr); if (bT1) { CFX_Int32Array* result = new CFX_Int32Array; result->SetSize(2); @@ -165,7 +165,7 @@ CFX_Int32Array* CBC_OnedCode39Reader::FindAsteriskPattern( } } e = BCExceptionNotFound; - return NULL; + return nullptr; } int32_t CBC_OnedCode39Reader::ToNarrowWidePattern(CFX_Int32Array* counters) { int32_t numCounters = counters->GetSize(); |