summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_list.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-07 17:53:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-07 17:53:06 -0700
commit1cd352e0a4bc19f96df199b0acfa32a344240d5e (patch)
treebe24d7a4bd135c2ab5568148ab318b7bf648edda /fpdfsdk/fxedit/fxet_list.cpp
parenta4fdfc5ed0e8d2e6acc52cc34eac42c6072f0ccc (diff)
downloadpdfium-1cd352e0a4bc19f96df199b0acfa32a344240d5e.tar.xz
Get rid of NULLs in fpdfsdk/
Review-Url: https://codereview.chromium.org/2031653003
Diffstat (limited to 'fpdfsdk/fxedit/fxet_list.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_list.cpp6
1 files changed, 3 insertions, 3 deletions
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),