summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtengine.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-21 12:27:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-21 17:49:27 +0000
commita798e2f487e388aafc0beeda46aca3fb0358c189 (patch)
tree4b2c4d68081b2fb90e42af70d106a2bd10e743af /xfa/fde/cfde_txtedtengine.cpp
parent3b20ec77c760ef11dacf00a3e654d06cadf20c27 (diff)
downloadpdfium-a798e2f487e388aafc0beeda46aca3fb0358c189.tar.xz
Cleanup CFDE_TxtEdtBuf and simplify some logic.
This CL cleans up nits in CFDE_TxtEdtBuf and simplifies some of the methods. Change-Id: I2092da8e27281a577752fc331fec0612a349dfd6 Reviewed-on: https://pdfium-review.googlesource.com/11335 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r--xfa/fde/cfde_txtedtengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp
index f109083e01..a786a9a6d4 100644
--- a/xfa/fde/cfde_txtedtengine.cpp
+++ b/xfa/fde/cfde_txtedtengine.cpp
@@ -765,7 +765,7 @@ void CFDE_TxtEdtEngine::ResetEngine() {
RemoveAllParags();
ClearSelection();
m_nCaret = 0;
- m_pTxtBuf->Clear(false);
+ m_pTxtBuf->Clear();
m_nCaret = 0;
}