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

Unified Diff: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: 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/parser/xfa_script_resolveprocessor.cpp ('k') | xfa/fxfa/parser/xfa_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
index 6273dc0b458846580dc2a17700d5e8bcd57bafa4..20eff0b956c0426a9cb1fa3f2ccc2158b45ca78e 100644
--- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
+++ b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
@@ -36,7 +36,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify(
return;
}
CXFA_FFDoc* hDoc = pNotify->GetHDOC();
- CXFA_Node* pNode = NULL;
+ CXFA_Node* pNode = nullptr;
if (iLength >= 1) {
pNode = static_cast<CXFA_Node*>(pArguments->GetObject(0));
}
@@ -58,7 +58,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign(
return;
}
CXFA_FFDoc* hDoc = pNotify->GetHDOC();
- CXFA_NodeList* pNodeList = NULL;
+ CXFA_NodeList* pNodeList = nullptr;
CFX_WideString wsExpression;
CFX_WideString wsXMLIdent;
if (iLength >= 1) {
@@ -109,7 +109,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Clear(
return;
}
CXFA_FFDoc* hDoc = pNotify->GetHDOC();
- CXFA_Node* pNode = NULL;
+ CXFA_Node* pNode = nullptr;
FX_BOOL bClear = TRUE;
if (iLength >= 1) {
pNode = static_cast<CXFA_Node*>(pArguments->GetObject(0));
« no previous file with comments | « xfa/fxfa/parser/xfa_script_resolveprocessor.cpp ('k') | xfa/fxfa/parser/xfa_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698