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/fde/cfde_txtedtdorecord_insert.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/fde/cfde_txtedtdorecord_insert.cpp')
-rw-r--r-- | xfa/fde/cfde_txtedtdorecord_insert.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fde/cfde_txtedtdorecord_insert.cpp b/xfa/fde/cfde_txtedtdorecord_insert.cpp index 3ea9269cb9..e659f020ca 100644 --- a/xfa/fde/cfde_txtedtdorecord_insert.cpp +++ b/xfa/fde/cfde_txtedtdorecord_insert.cpp @@ -31,7 +31,7 @@ bool CFDE_TxtEdtDoRecord_Insert::Undo() const { FDE_TXTEDTPARAMS& Param = m_pEngine->m_Param; m_pEngine->m_ChangeInfo.nChangeType = FDE_TXTEDT_TEXTCHANGE_TYPE_Delete; m_pEngine->m_ChangeInfo.wsDelete = m_wsInsert; - Param.pEventSink->On_TextChanged(m_pEngine, m_pEngine->m_ChangeInfo); + Param.pEventSink->OnTextChanged(m_pEngine->m_ChangeInfo); m_pEngine->SetCaretPos(m_nCaret, true); return true; } @@ -41,7 +41,7 @@ bool CFDE_TxtEdtDoRecord_Insert::Redo() const { FDE_TXTEDTPARAMS& Param = m_pEngine->m_Param; m_pEngine->m_ChangeInfo.nChangeType = FDE_TXTEDT_TEXTCHANGE_TYPE_Insert; m_pEngine->m_ChangeInfo.wsDelete = m_wsInsert; - Param.pEventSink->On_TextChanged(m_pEngine, m_pEngine->m_ChangeInfo); + Param.pEventSink->OnTextChanged(m_pEngine->m_ChangeInfo); m_pEngine->SetCaretPos(m_nCaret, false); return true; } |