Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_fftextedit.cpp
index d04a561..3cf9452 100644 (file)
@@ -346,7 +346,7 @@ FX_BOOL CXFA_FFTextEdit::GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray
     FWLToClient(pointf.x, pointf.y);\r
     return ((CFWL_Edit*)m_pNormalWidget)->GetSuggestWords(pointf, sSuggest);\r
 }\r
-FX_BOOL CXFA_FFTextEdit::ReplaceSpellCheckWord(CFX_PointF pointf, FX_BSTR bsReplace)\r
+FX_BOOL CXFA_FFTextEdit::ReplaceSpellCheckWord(CFX_PointF pointf, const CFX_ByteStringC& bsReplace)\r
 {\r
     if (m_pDataAcc->GetUIType() != XFA_ELEMENT_TextEdit) {\r
         return FALSE;\r
@@ -390,14 +390,14 @@ void CXFA_FFTextEdit::OnAddDoRecord(IFWL_Widget *pWidget)
 {\r
     GetDoc()->GetDocProvider()->AddDoRecord(this);\r
 }\r
-FX_BOOL CXFA_FFTextEdit::CheckWord(FX_BSTR sWord)\r
+FX_BOOL CXFA_FFTextEdit::CheckWord(const CFX_ByteStringC& sWord)\r
 {\r
     if (sWord.IsEmpty() || m_pDataAcc->GetUIType() != XFA_ELEMENT_TextEdit) {\r
         return TRUE;\r
     }\r
     return GetDoc()->GetDocProvider()->CheckWord(GetDoc(), sWord);\r
 }\r
-FX_BOOL CXFA_FFTextEdit::GetSuggestWords(FX_BSTR sWord, CFX_ByteStringArray &sSuggest)\r
+FX_BOOL CXFA_FFTextEdit::GetSuggestWords(const CFX_ByteStringC& sWord, CFX_ByteStringArray &sSuggest)\r
 {\r
     if (m_pDataAcc->GetUIType() != XFA_ELEMENT_TextEdit) {\r
         return FALSE;\r