Index: xfa/fwl/basewidget/fwl_editimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp |
index 083a0885f748c670167569fea12e098295f05e90..a2eab8a60d275f7dc6d4bce04f678bf5a72d7773 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; |
} |