diff options
author | tsepez <tsepez@chromium.org> | 2016-04-15 16:04:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 16:04:24 -0700 |
commit | 31e446374a7cf3f3353e42a03b6d5297e5cd60ec (patch) | |
tree | 4897c8f76e3ad9b4f6eff3097e752247e8b41047 /xfa/fwl/lightwidget/cfwl_combobox.h | |
parent | 2ba3dc72f73f8e6cdd0423d02a12528096c2d90a (diff) | |
download | pdfium-31e446374a7cf3f3353e42a03b6d5297e5cd60ec.tar.xz |
Avoid narrowing of strings in FWL SetEditText methods.
Review URL: https://codereview.chromium.org/1892813004
Diffstat (limited to 'xfa/fwl/lightwidget/cfwl_combobox.h')
-rw-r--r-- | xfa/fwl/lightwidget/cfwl_combobox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/lightwidget/cfwl_combobox.h b/xfa/fwl/lightwidget/cfwl_combobox.h index 59b542c453..c92a063cdf 100644 --- a/xfa/fwl/lightwidget/cfwl_combobox.h +++ b/xfa/fwl/lightwidget/cfwl_combobox.h @@ -30,7 +30,7 @@ class CFWL_ComboBox : public CFWL_Widget { FWL_ERR GetTextByIndex(int32_t iIndex, CFX_WideString& wsText); int32_t GetCurSel(); FWL_ERR SetCurSel(int32_t iSel); - FWL_ERR SetEditText(const CFX_WideStringC& wsText); + FWL_ERR SetEditText(const CFX_WideString& wsText); int32_t GetEditTextLength() const; FWL_ERR GetEditText(CFX_WideString& wsText, int32_t nStart = 0, |