Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffwidget.h
index b1d33bb..c45def9 100644 (file)
@@ -146,7 +146,7 @@ public:
     {\r
         return FALSE;\r
     }\r
-    virtual FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, FX_BSTR bsReplace)\r
+    virtual FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, const CFX_ByteStringC& bsReplace)\r
     {\r
         return FALSE;\r
     }\r
@@ -193,7 +193,7 @@ CFX_GraphStateData::LineCap XFA_LineCapToFXGE(int32_t iLineCap);
 void                   XFA_DrawImage(CFX_Graphics* pGS, const CFX_RectF &rtImage, CFX_Matrix* pMatrix, CFX_DIBitmap* pDIBitmap, int32_t iAspect, int32_t iImageXDpi, int32_t iImageYDpi, int32_t iHorzAlign = XFA_ATTRIBUTEENUM_Left, int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top);\r
 CFX_DIBitmap*  XFA_LoadImageData(CXFA_FFDoc *pDoc, CXFA_Image *pImage, FX_BOOL &bNameImage, int32_t &iImageXDpi, int32_t &iImageYDpi);\r
 CFX_DIBitmap*  XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead, FXCODEC_IMAGE_TYPE type, int32_t &iImageXDpi, int32_t &iImageYDpi);\r
-FXCODEC_IMAGE_TYPE XFA_GetImageType(FX_WSTR wsType);\r
+FXCODEC_IMAGE_TYPE XFA_GetImageType(const CFX_WideStringC& wsType);\r
 FX_CHAR*               XFA_Base64Encode(const uint8_t* buf, int32_t buf_len);\r
 void                   XFA_RectWidthoutMargin(CFX_RectF &rt, const CXFA_Margin &mg, FX_BOOL bUI = FALSE);\r
 FX_FLOAT               XFA_GetEdgeThickness(const CXFA_StrokeArray &strokes, FX_BOOL b3DStyle, int32_t nIndex);\r