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

Unified Diff: fpdfsdk/fxedit/fxet_list.cpp

Issue 2031653003: Get rid of NULLs in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_core
Patch Set: rebase 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
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | fpdfsdk/fxedit/fxet_pageobjs.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/fxedit/fxet_list.cpp
diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp
index 383b84f27fa94a7f140c80ce4fe3089cc92b392f..1385d57680b9b8a4d826cd621ed793dc2bd29786 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),
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | fpdfsdk/fxedit/fxet_pageobjs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698