Index: xfa/fxfa/app/xfa_fftextedit.cpp |
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp |
index 89c323c23b75234683542b8db3eb37e6a63d8358..a678a20f6cf495cbbb853db19f4cfc5a3f93c074 100644 |
--- a/xfa/fxfa/app/xfa_fftextedit.cpp |
+++ b/xfa/fxfa/app/xfa_fftextedit.cpp |
@@ -303,13 +303,13 @@ void CXFA_FFTextEdit::OnTextChanged(CFWL_Widget* pWidget, |
eParam.m_wsNewText = pDateTime->GetEditText(); |
int32_t iSels = pDateTime->CountSelRanges(); |
if (iSels) { |
- eParam.m_iSelEnd = pDateTime->GetSelRange(0, eParam.m_iSelStart); |
+ eParam.m_iSelEnd = pDateTime->GetSelRange(0, &eParam.m_iSelStart); |
} |
} else { |
eParam.m_wsNewText = pEdit->GetText(); |
int32_t iSels = pEdit->CountSelRanges(); |
if (iSels) { |
- eParam.m_iSelEnd = pEdit->GetSelRange(0, eParam.m_iSelStart); |
+ eParam.m_iSelEnd = pEdit->GetSelRange(0, &eParam.m_iSelStart); |
} |
} |
m_pDataAcc->ProcessEvent(XFA_ATTRIBUTEENUM_Change, &eParam); |