Index: xfa/fxbarcode/cbc_codebase.h |
diff --git a/xfa/fxbarcode/cbc_codebase.h b/xfa/fxbarcode/cbc_codebase.h |
index 886095aaba11ff7bcfc80c046157cab902ea6df7..c28c08b7e75c936ee0371fe5d50c88b2c83701ad 100644 |
--- a/xfa/fxbarcode/cbc_codebase.h |
+++ b/xfa/fxbarcode/cbc_codebase.h |
@@ -24,19 +24,19 @@ class CBC_CodeBase { |
virtual ~CBC_CodeBase(); |
virtual BC_TYPE GetType() = 0; |
- virtual FX_BOOL Encode(const CFX_WideStringC& contents, |
- FX_BOOL isDevice, |
- int32_t& e) = 0; |
- virtual FX_BOOL RenderDevice(CFX_RenderDevice* device, |
- const CFX_Matrix* matrix, |
- int32_t& e) = 0; |
- virtual FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) = 0; |
- |
- FX_BOOL SetCharEncoding(int32_t encoding); |
- FX_BOOL SetModuleHeight(int32_t moduleHeight); |
- FX_BOOL SetModuleWidth(int32_t moduleWidth); |
- FX_BOOL SetHeight(int32_t height); |
- FX_BOOL SetWidth(int32_t width); |
+ virtual bool Encode(const CFX_WideStringC& contents, |
+ bool isDevice, |
+ int32_t& e) = 0; |
+ virtual bool RenderDevice(CFX_RenderDevice* device, |
+ const CFX_Matrix* matrix, |
+ int32_t& e) = 0; |
+ virtual bool RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) = 0; |
+ |
+ bool SetCharEncoding(int32_t encoding); |
+ bool SetModuleHeight(int32_t moduleHeight); |
+ bool SetModuleWidth(int32_t moduleWidth); |
+ bool SetHeight(int32_t height); |
+ bool SetWidth(int32_t width); |
void SetBackgroundColor(FX_ARGB backgroundColor); |
void SetBarcodeColor(FX_ARGB foregroundColor); |