Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fwl / src / lightwidget / edit.cpp
index 8bace71..310e68b 100644 (file)
@@ -112,7 +112,7 @@ FWL_ERR CFWL_Edit::SetFormatString(const CFX_WideString &wsFormat)
     _FWL_RETURN_VALUE_IF_FAIL(m_pImp, FWL_ERR_Indefinite);\r
     return ((IFWL_Edit*)m_pImp)->SetFormatString(wsFormat);\r
 }\r
-FWL_ERR CFWL_Edit::Insert(int32_t nStart, FX_LPCWSTR lpText, int32_t nLen)\r
+FWL_ERR CFWL_Edit::Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen)\r
 {\r
     _FWL_RETURN_VALUE_IF_FAIL(m_pImp, FWL_ERR_Indefinite);\r
     return ((IFWL_Edit*)m_pImp)->Insert(nStart, lpText, nLen);\r
@@ -142,12 +142,12 @@ FWL_ERR CFWL_Edit::DoClipboard(int32_t iCmd)
     _FWL_RETURN_VALUE_IF_FAIL(m_pImp, FWL_ERR_Indefinite);\r
     return ((IFWL_Edit*)m_pImp)->DoClipboard(iCmd);\r
 }\r
-FX_BOOL CFWL_Edit::Redo(FX_BSTR bsRecord)\r
+FX_BOOL CFWL_Edit::Redo(const CFX_ByteStringC& bsRecord)\r
 {\r
     _FWL_RETURN_VALUE_IF_FAIL(m_pImp, FALSE);\r
     return ((IFWL_Edit*)m_pImp)->Redo(bsRecord);\r
 }\r
-FX_BOOL CFWL_Edit::Undo(FX_BSTR bsRecord)\r
+FX_BOOL CFWL_Edit::Undo(const CFX_ByteStringC& bsRecord)\r
 {\r
     _FWL_RETURN_VALUE_IF_FAIL(m_pImp, FALSE);\r
     return ((IFWL_Edit*)m_pImp)->Undo(bsRecord);\r
@@ -214,7 +214,7 @@ FX_BOOL CFWL_Edit::GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray &sSugg
 {\r
     return ((IFWL_Edit*)m_pImp)->GetSuggestWords(pointf, sSuggest);\r
 }\r
-FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf, FX_BSTR bsReplace)\r
+FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf, const CFX_ByteStringC& bsReplace)\r
 {\r
     return ((IFWL_Edit*)m_pImp)->ReplaceSpellCheckWord(pointf, bsReplace);\r
 }\r