Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: xfa/fwl/core/cfwl_barcode.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fgas/localization/fgas_localeimp.h ('k') | xfa/fwl/core/cfwl_barcode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_barcode.h
diff --git a/xfa/fwl/core/cfwl_barcode.h b/xfa/fwl/core/cfwl_barcode.h
index 06b52c2112e3d5133aeeb37e89577b91839c7bc0..8df93ff6284cd7402ee5239f5b55cfd0303304c7 100644
--- a/xfa/fwl/core/cfwl_barcode.h
+++ b/xfa/fwl/core/cfwl_barcode.h
@@ -22,21 +22,21 @@ class CFWL_Barcode : public CFWL_Edit {
void Initialize();
void SetType(BC_TYPE type);
- FX_BOOL IsProtectedType();
+ bool IsProtectedType();
void SetCharEncoding(BC_CHAR_ENCODING encoding);
void SetModuleHeight(int32_t height);
void SetModuleWidth(int32_t width);
void SetDataLength(int32_t dataLength);
- void SetCalChecksum(FX_BOOL calChecksum);
- void SetPrintChecksum(FX_BOOL printChecksum);
+ void SetCalChecksum(bool calChecksum);
+ void SetPrintChecksum(bool printChecksum);
void SetTextLocation(BC_TEXT_LOC location);
void SetWideNarrowRatio(int32_t ratio);
void SetStartChar(FX_CHAR startChar);
void SetEndChar(FX_CHAR endChar);
void SetVersion(int32_t version);
void SetErrorCorrectionLevel(int32_t ecLevel);
- void SetTruncated(FX_BOOL truncated);
+ void SetTruncated(bool truncated);
void ResetBarcodeAttributes();
protected:
@@ -53,30 +53,30 @@ class CFWL_Barcode : public CFWL_Edit {
int32_t GetModuleHeight() const override;
int32_t GetModuleWidth() const override;
int32_t GetDataLength() const override;
- FX_BOOL GetCalChecksum() const override;
- FX_BOOL GetPrintChecksum() const override;
+ bool GetCalChecksum() const override;
+ bool GetPrintChecksum() const override;
BC_TEXT_LOC GetTextLocation() const override;
int32_t GetWideNarrowRatio() const override;
FX_CHAR GetStartChar() const override;
FX_CHAR GetEndChar() const override;
int32_t GetVersion() const override;
int32_t GetErrorCorrectionLevel() const override;
- FX_BOOL GetTruncated() const override;
+ bool GetTruncated() const override;
uint32_t GetBarcodeAttributeMask() const override;
BC_CHAR_ENCODING m_eCharEncoding;
int32_t m_nModuleHeight;
int32_t m_nModuleWidth;
int32_t m_nDataLength;
- FX_BOOL m_bCalChecksum;
- FX_BOOL m_bPrintChecksum;
+ bool m_bCalChecksum;
+ bool m_bPrintChecksum;
BC_TEXT_LOC m_eTextLocation;
int32_t m_nWideNarrowRatio;
FX_CHAR m_cStartChar;
FX_CHAR m_cEndChar;
int32_t m_nVersion;
int32_t m_nECLevel;
- FX_BOOL m_bTruncated;
+ bool m_bTruncated;
uint32_t m_dwAttributeMask;
};
« no previous file with comments | « xfa/fgas/localization/fgas_localeimp.h ('k') | xfa/fwl/core/cfwl_barcode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698