diff options
Diffstat (limited to 'xfa/fxfa/cxfa_fftextedit.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_fftextedit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_fftextedit.cpp b/xfa/fxfa/cxfa_fftextedit.cpp index 520ed31ec5..02787d579b 100644 --- a/xfa/fxfa/cxfa_fftextedit.cpp +++ b/xfa/fxfa/cxfa_fftextedit.cpp @@ -307,7 +307,6 @@ void CXFA_FFTextEdit::OnTextChanged(CFWL_Widget* pWidget, eParam.m_wsPrevText = wsPrevText; if (m_pNode->GetFFWidgetType() == XFA_FFWidgetType::kDateTimeEdit) { auto* pDateTime = static_cast<CFWL_DateTimePicker*>(m_pNormalWidget.get()); - eParam.m_wsNewText = pDateTime->GetEditText(); if (pDateTime->HasSelection()) { size_t count; std::tie(eParam.m_iSelStart, count) = pDateTime->GetSelection(); @@ -315,7 +314,6 @@ void CXFA_FFTextEdit::OnTextChanged(CFWL_Widget* pWidget, } } else { CFWL_Edit* pEdit = ToEdit(m_pNormalWidget.get()); - eParam.m_wsNewText = pEdit->GetText(); if (pEdit->HasSelection()) std::tie(eParam.m_iSelStart, eParam.m_iSelEnd) = pEdit->GetSelection(); } |