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

Unified Diff: xfa/fxfa/app/xfa_ffimageedit.cpp

Issue 2095653002: Remove NULL in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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 | « xfa/fxfa/app/xfa_ffimageedit.h ('k') | xfa/fxfa/app/xfa_ffnotify.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/app/xfa_ffimageedit.cpp
diff --git a/xfa/fxfa/app/xfa_ffimageedit.cpp b/xfa/fxfa/app/xfa_ffimageedit.cpp
index fafa24d5c73f78fbba190114ca7f6018a725dba4..85e464d40ab93178f1333951567b4bf21ee63b38 100644
--- a/xfa/fxfa/app/xfa_ffimageedit.cpp
+++ b/xfa/fxfa/app/xfa_ffimageedit.cpp
@@ -18,7 +18,7 @@
CXFA_FFImageEdit::CXFA_FFImageEdit(CXFA_FFPageView* pPageView,
CXFA_WidgetAcc* pDataAcc)
- : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) {}
+ : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(nullptr) {}
CXFA_FFImageEdit::~CXFA_FFImageEdit() {
CXFA_FFImageEdit::UnloadWidget();
}
@@ -41,7 +41,7 @@ FX_BOOL CXFA_FFImageEdit::LoadWidget() {
return TRUE;
}
void CXFA_FFImageEdit::UnloadWidget() {
- m_pDataAcc->SetImageEditImage(NULL);
+ m_pDataAcc->SetImageEditImage(nullptr);
CXFA_FFField::UnloadWidget();
}
void CXFA_FFImageEdit::RenderWidget(CFX_Graphics* pGS,
@@ -118,7 +118,7 @@ FX_BOOL CXFA_FFImageEdit::CommitData() {
return TRUE;
}
FX_BOOL CXFA_FFImageEdit::UpdateFWLData() {
- m_pDataAcc->SetImageEditImage(NULL);
+ m_pDataAcc->SetImageEditImage(nullptr);
m_pDataAcc->LoadImageEditImage();
return TRUE;
}
« no previous file with comments | « xfa/fxfa/app/xfa_ffimageedit.h ('k') | xfa/fxfa/app/xfa_ffnotify.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698