Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: xfa/fwl/basewidget/fwl_editimp.cpp

Issue 1979723003: Make CFX_WideString(const CFX_WideString&) explicit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Override Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fgas/localization/fgas_localemgr.cpp ('k') | xfa/fxbarcode/cbc_codabar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « xfa/fgas/localization/fgas_localemgr.cpp ('k') | xfa/fxbarcode/cbc_codabar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698