Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / include / fwl / lightwidget / edit.h
index 94a4ac4..06c1072 100644 (file)
@@ -34,8 +34,8 @@ public:
     FWL_ERR            ReplaceSelections(const CFX_WideStringC &wsReplace);\r
     FWL_ERR            Replace(int32_t nStart, int32_t nLen, const CFX_WideStringC &wsReplace);\r
     FWL_ERR            DoClipboard(int32_t iCmd);\r
-    FX_BOOL            Redo(FX_BSTR bsRecord);\r
-    FX_BOOL            Undo(FX_BSTR bsRecord);\r
+    FX_BOOL            Redo(const CFX_ByteStringC& bsRecord);\r
+    FX_BOOL            Undo(const CFX_ByteStringC& bsRecord);\r
     FWL_ERR            SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant);\r
     FWL_ERR            SetNumberRange(int32_t iMin, int32_t iMax);\r
     FWL_ERR     SetBackColor(FX_DWORD dwColor);\r
@@ -50,7 +50,7 @@ public:
     FX_BOOL            Delete();\r
     void               SetScrollOffset(FX_FLOAT fScrollOffset);\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
     CFWL_Edit();\r
     virtual ~CFWL_Edit();\r
 };\r