Index: fpdfsdk/src/pdfwindow/PWL_Edit.cpp |
diff --git a/fpdfsdk/src/pdfwindow/PWL_Edit.cpp b/fpdfsdk/src/pdfwindow/PWL_Edit.cpp |
index f50233ff1c8831d124425c8656d8482f59548edd..62f09eff2b6c99b400a79d3fe105712c17ef66d7 100644 |
--- a/fpdfsdk/src/pdfwindow/PWL_Edit.cpp |
+++ b/fpdfsdk/src/pdfwindow/PWL_Edit.cpp |
@@ -37,7 +37,7 @@ void CPWL_Edit::OnDestroy() |
{ |
} |
-void CPWL_Edit::SetText(FX_LPCWSTR csText) |
+void CPWL_Edit::SetText(const FX_WCHAR* csText) |
{ |
CFX_WideString swText = csText; |
@@ -865,7 +865,7 @@ void CPWL_Edit::SetLimitChar(int32_t nLimitChar) |
m_pEdit->SetLimitChar(nLimitChar); |
} |
-void CPWL_Edit::ReplaceSel(FX_LPCWSTR csText) |
+void CPWL_Edit::ReplaceSel(const FX_WCHAR* csText) |
{ |
m_pEdit->Clear(); |
m_pEdit->InsertText(csText); |