diff options
author | dsinclair <dsinclair@chromium.org> | 2016-12-07 17:58:41 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-07 17:58:41 -0800 |
commit | 442997cbb3a9e970946dd294acd1498e9fa9bfc7 (patch) | |
tree | 99041d1d439501ee4616efa87ee2ab76b3d2fca0 /xfa/fxfa/app/xfa_fftextedit.cpp | |
parent | 31559c91c4983b42361415d30b0b2a518c7ef383 (diff) | |
download | pdfium-442997cbb3a9e970946dd294acd1498e9fa9bfc7.tar.xz |
Cleanup FWL default values part II.
This CL cleans up the remaining default values in the fwl/core directory. Some
methods are renamed to better represent what they do.
Review-Url: https://codereview.chromium.org/2557103002
Diffstat (limited to 'xfa/fxfa/app/xfa_fftextedit.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_fftextedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp index 89c323c23b..a678a20f6c 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); |