Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_fftextedit.h
index ece1a4b..cd2dae2 100644 (file)
@@ -33,7 +33,7 @@ public:
     virtual FX_BOOL            Delete();\r
     virtual FX_BOOL            DeSelect();\r
     FX_BOOL            GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray &sSuggest);\r
-    FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, FX_BSTR bsReplace);\r
+    FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, const CFX_ByteStringC& bsReplace);\r
 protected:\r
     FX_DWORD   GetAlignment();\r
     virtual FX_BOOL    CommitData();\r
@@ -45,8 +45,8 @@ public:
     void       OnTextChanged(IFWL_Widget *pWidget, const CFX_WideString &wsChanged, const CFX_WideString &wsPrevText);\r
     void       OnTextFull(IFWL_Widget *pWidget);\r
     void       OnAddDoRecord(IFWL_Widget *pWidget);\r
-    FX_BOOL            CheckWord(FX_BSTR sWord);\r
-    FX_BOOL            GetSuggestWords(FX_BSTR sWord, CFX_ByteStringArray &sSuggest);\r
+    FX_BOOL            CheckWord(const CFX_ByteStringC& sWord);\r
+    FX_BOOL            GetSuggestWords(const CFX_ByteStringC& sWord, CFX_ByteStringArray &sSuggest);\r
     virtual int32_t    OnProcessMessage(CFWL_Message *pMessage);\r
     virtual FWL_ERR            OnProcessEvent(CFWL_Event *pEvent);\r
     virtual FWL_ERR            OnDrawWidget(CFX_Graphics *pGraphics, const CFX_Matrix *pMatrix = NULL);\r