summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-18 10:04:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-18 10:04:07 -0700
commitefd5a99f98a263da9de52059681ff6ed27b2567c (patch)
tree83abdb823c7b2941f4891f4f27986576c740ab7b /fpdfsdk/pdfwindow/PWL_EditCtrl.cpp
parentd8f397878b5cd83ba4b75b3e69331986357301b9 (diff)
downloadpdfium-efd5a99f98a263da9de52059681ff6ed27b2567c.tar.xz
Removing default params from CFX_Edit.
This CL removes all of the default params from CFX_Edit. They are either moved to the callsite or removed completely if unused. Review-Url: https://codereview.chromium.org/2152473002
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_EditCtrl.cpp')
-rw-r--r--fpdfsdk/pdfwindow/PWL_EditCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp
index 1bb17db6de..ee3df36a71 100644
--- a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp
+++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp
@@ -483,7 +483,7 @@ void CPWL_EditCtrl::ShowVScrollBar(FX_BOOL bShow) {}
void CPWL_EditCtrl::InsertText(const FX_WCHAR* csText) {
if (!IsReadOnly())
- m_pEdit->InsertText(csText);
+ m_pEdit->InsertText(csText, DEFAULT_CHARSET);
}
void CPWL_EditCtrl::InsertWord(uint16_t word, int32_t nCharset) {