summaryrefslogtreecommitdiff
path: root/xfa/fwl
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl')
-rw-r--r--xfa/fwl/basewidget/fwl_editimp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp
index 083a0885f7..a2eab8a60d 100644
--- a/xfa/fwl/basewidget/fwl_editimp.cpp
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp
@@ -667,7 +667,7 @@ FWL_Error CFWL_EditImp::Replace(int32_t nStart,
if (!m_pEdtEngine)
return FWL_Error::Indefinite;
- m_pEdtEngine->Replace(nStart, nLen, wsReplace);
+ m_pEdtEngine->Replace(nStart, nLen, CFX_WideString(wsReplace));
return FWL_Error::Succeeded;
}