From 1cd352e0a4bc19f96df199b0acfa32a344240d5e Mon Sep 17 00:00:00 2001 From: thestig Date: Tue, 7 Jun 2016 17:53:06 -0700 Subject: Get rid of NULLs in fpdfsdk/ Review-Url: https://codereview.chromium.org/2031653003 --- fpdfsdk/fxedit/fxet_list.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpdfsdk/fxedit/fxet_list.cpp') diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp index 383b84f27f..1385d57680 100644 --- a/fpdfsdk/fxedit/fxet_list.cpp +++ b/fpdfsdk/fxedit/fxet_list.cpp @@ -74,7 +74,7 @@ CFX_WideString CFX_ListItem::GetText() const { } CFX_List::CFX_List() - : m_fFontSize(0.0f), m_pFontMap(NULL), m_bMultiple(FALSE) {} + : m_fFontSize(0.0f), m_pFontMap(nullptr), m_bMultiple(FALSE) {} CFX_List::~CFX_List() { Empty(); @@ -125,7 +125,7 @@ IFX_Edit* CFX_List::GetItemEdit(int32_t nIndex) const { return pListItem->GetEdit(); } - return NULL; + return nullptr; } int32_t CFX_List::GetCount() const { @@ -378,7 +378,7 @@ void CPLST_Select::Done() { } CFX_ListCtrl::CFX_ListCtrl() - : m_pNotify(NULL), + : m_pNotify(nullptr), m_bNotifyFlag(FALSE), m_ptScrollPos(0.0f, 0.0f), m_nSelItem(-1), -- cgit v1.2.3