Index: xfa/fxfa/app/xfa_ffwidgethandler.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidgethandler.cpp b/xfa/fxfa/app/xfa_ffwidgethandler.cpp |
index 5221c7cd6dd5839505dbdcb34eb6a91dee966e31..aaaf07ad6693ebc911adca1bb41b92014ce08d06 100644 |
--- a/xfa/fxfa/app/xfa_ffwidgethandler.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidgethandler.cpp |
@@ -481,7 +481,7 @@ CXFA_Node* CXFA_FFWidgetHandler::CreateSubform(CXFA_Node* pParent, |
CXFA_Node* CXFA_FFWidgetHandler::CreateFormItem(XFA_Element eElement, |
CXFA_Node* pParent, |
CXFA_Node* pBefore) const { |
- CXFA_Node* pTemplateParent = pParent ? pParent->GetTemplateNode() : NULL; |
+ CXFA_Node* pTemplateParent = pParent ? pParent->GetTemplateNode() : nullptr; |
CXFA_Node* pNewFormItem = pTemplateParent->CloneTemplateToForm(FALSE); |
if (pParent) |
pParent->InsertChild(pNewFormItem, pBefore); |
@@ -491,10 +491,10 @@ CXFA_Node* CXFA_FFWidgetHandler::CreateFormItem(XFA_Element eElement, |
CXFA_Node* CXFA_FFWidgetHandler::CreateCopyNode(XFA_Element eElement, |
CXFA_Node* pParent, |
CXFA_Node* pBefore) const { |
- CXFA_Node* pTemplateParent = pParent ? pParent->GetTemplateNode() : NULL; |
+ CXFA_Node* pTemplateParent = pParent ? pParent->GetTemplateNode() : nullptr; |
CXFA_Node* pNewNode = |
CreateTemplateNode(eElement, pTemplateParent, |
- pBefore ? pBefore->GetTemplateNode() : NULL) |
+ pBefore ? pBefore->GetTemplateNode() : nullptr) |
->Clone(FALSE); |
if (pParent) |
pParent->InsertChild(pNewNode, pBefore); |