Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxbarcode / oned / BC_OnedEAN8Writer.h
index f2e5cc2..9f7149f 100644 (file)
@@ -19,14 +19,14 @@ public:
     uint8_t    *               Encode(const CFX_ByteString &contents, BCFORMAT format, int32_t &outWidth, int32_t &outHeight , int32_t &e);\r
     uint8_t *          Encode(const CFX_ByteString &contents, BCFORMAT format, int32_t &outWidth, int32_t &outHeight, int32_t hints , int32_t &e);\r
     uint8_t *          Encode(const CFX_ByteString &contents, int32_t &outLength, int32_t &e);\r
-    void                       RenderResult(FX_WSTR contents, uint8_t* code, int32_t codeLength, FX_BOOL isDevice, int32_t &e);\r
-    FX_BOOL                    CheckContentValidity(FX_WSTR contents);\r
-    CFX_WideString     FilterContents(FX_WSTR contents);\r
+    void                       RenderResult(const CFX_WideStringC& contents, uint8_t* code, int32_t codeLength, FX_BOOL isDevice, int32_t &e);\r
+    FX_BOOL                    CheckContentValidity(const CFX_WideStringC& contents);\r
+    CFX_WideString     FilterContents(const CFX_WideStringC& contents);\r
     void                       SetDataLength(int32_t length);\r
     FX_BOOL                    SetTextLocation(BC_TEXT_LOC location);\r
     int32_t            CalcChecksum(const CFX_ByteString &contents);\r
 protected:\r
 \r
-    void               ShowChars(FX_WSTR contents, CFX_DIBitmap *pOutBitmap, CFX_RenderDevice* device, const CFX_Matrix* matrix, int32_t barWidth, int32_t multiple, int32_t &e);\r
+    void               ShowChars(const CFX_WideStringC& contents, CFX_DIBitmap *pOutBitmap, CFX_RenderDevice* device, const CFX_Matrix* matrix, int32_t barWidth, int32_t multiple, int32_t &e);\r
 };\r
 #endif\r