From 31e446374a7cf3f3353e42a03b6d5297e5cd60ec Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 15 Apr 2016 16:04:24 -0700 Subject: Avoid narrowing of strings in FWL SetEditText methods. Review URL: https://codereview.chromium.org/1892813004 --- xfa/fwl/lightwidget/cfwl_combobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/lightwidget/cfwl_combobox.cpp') diff --git a/xfa/fwl/lightwidget/cfwl_combobox.cpp b/xfa/fwl/lightwidget/cfwl_combobox.cpp index bdcc36fa30..f2cd1f5d6b 100644 --- a/xfa/fwl/lightwidget/cfwl_combobox.cpp +++ b/xfa/fwl/lightwidget/cfwl_combobox.cpp @@ -88,7 +88,7 @@ FWL_ERR CFWL_ComboBox::SetCurSel(int32_t iSel) { return static_cast(m_pIface)->SetCurSel(iSel); } -FWL_ERR CFWL_ComboBox::SetEditText(const CFX_WideStringC& wsText) { +FWL_ERR CFWL_ComboBox::SetEditText(const CFX_WideString& wsText) { if (!m_pIface) return FWL_ERR_Indefinite; return static_cast(m_pIface)->SetEditText(wsText); -- cgit v1.2.3