Index: xfa/fxfa/app/xfa_fftextedit.cpp |
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp |
index d29446a0867d944d692385c8a70a998c3faa3f67..398cf87cd88ad0aaf10e23ecf05c1d6386294334 100644 |
--- a/xfa/fxfa/app/xfa_fftextedit.cpp |
+++ b/xfa/fxfa/app/xfa_fftextedit.cpp |
@@ -26,7 +26,7 @@ |
CXFA_FFTextEdit::CXFA_FFTextEdit(CXFA_FFPageView* pPageView, |
CXFA_WidgetAcc* pDataAcc) |
- : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) {} |
+ : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(nullptr) {} |
CXFA_FFTextEdit::~CXFA_FFTextEdit() { |
if (m_pNormalWidget) { |
IFWL_Widget* pWidget = m_pNormalWidget->GetWidget(); |
@@ -159,14 +159,14 @@ FX_BOOL CXFA_FFTextEdit::OnSetFocus(CXFA_FFWidget* pOldWidget) { |
CXFA_FFWidget::OnSetFocus(pOldWidget); |
CFWL_MsgSetFocus ms; |
ms.m_pDstTarget = m_pNormalWidget->m_pIface; |
- ms.m_pSrcTarget = NULL; |
+ ms.m_pSrcTarget = nullptr; |
TranslateFWLMessage(&ms); |
return TRUE; |
} |
FX_BOOL CXFA_FFTextEdit::OnKillFocus(CXFA_FFWidget* pNewWidget) { |
CFWL_MsgKillFocus ms; |
ms.m_pDstTarget = m_pNormalWidget->m_pIface; |
- ms.m_pSrcTarget = NULL; |
+ ms.m_pSrcTarget = nullptr; |
TranslateFWLMessage(&ms); |
m_dwStatus &= ~XFA_WidgetStatus_Focused; |
SetEditScrollOffset(); |
@@ -782,7 +782,7 @@ void CXFA_FFDateTimeEdit::OnSelectChanged(IFWL_Widget* pWidget, |
CFWL_DateTimePicker* pDateTime = (CFWL_DateTimePicker*)m_pNormalWidget; |
pDateTime->SetEditText(wsDate); |
pDateTime->Update(); |
- GetDoc()->GetDocProvider()->SetFocusWidget(GetDoc(), NULL); |
+ GetDoc()->GetDocProvider()->SetFocusWidget(GetDoc(), nullptr); |
CXFA_EventParam eParam; |
eParam.m_eType = XFA_EVENT_Change; |
eParam.m_pTarget = m_pDataAcc; |