diff options
author | thestig <thestig@chromium.org> | 2016-06-07 10:46:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 10:46:23 -0700 |
commit | 4997b22f84307521a62838f874928bf56cd3423c (patch) | |
tree | ad11d99ac0a491ee222e9d0a42ec3b6ad3354e2a /core/fxcodec/jbig2/JBig2_Segment.cpp | |
parent | 0687e76dc259c678b3f29a6608331f07ffd8f1e2 (diff) | |
download | pdfium-4997b22f84307521a62838f874928bf56cd3423c.tar.xz |
Get rid of NULLs in core/
Review-Url: https://codereview.chromium.org/2032613003
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Segment.cpp')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Segment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Segment.cpp b/core/fxcodec/jbig2/JBig2_Segment.cpp index 64df0db5f7..0f53abcee3 100644 --- a/core/fxcodec/jbig2/JBig2_Segment.cpp +++ b/core/fxcodec/jbig2/JBig2_Segment.cpp @@ -12,7 +12,7 @@ CJBig2_Segment::CJBig2_Segment() { m_dwNumber = 0; m_cFlags.c = 0; m_nReferred_to_segment_count = 0; - m_pReferred_to_segment_numbers = NULL; + m_pReferred_to_segment_numbers = nullptr; m_dwPage_association = 0; m_dwData_length = 0; m_dwHeader_Length = 0; @@ -20,7 +20,7 @@ CJBig2_Segment::CJBig2_Segment() { m_dwDataOffset = 0; m_State = JBIG2_SEGMENT_HEADER_UNPARSED; m_nResultType = JBIG2_VOID_POINTER; - m_Result.vd = NULL; + m_Result.vd = nullptr; } CJBig2_Segment::~CJBig2_Segment() { FX_Free(m_pReferred_to_segment_numbers); |