diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 15:43:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 15:43:19 -0700 |
commit | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch) | |
tree | 239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fxfa/parser/xfa_locale.h | |
parent | 12f3e4a58f05850b93af35619cb04f0231d86acc (diff) | |
download | pdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz |
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fxfa/parser/xfa_locale.h')
-rw-r--r-- | xfa/fxfa/parser/xfa_locale.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xfa/fxfa/parser/xfa_locale.h b/xfa/fxfa/parser/xfa_locale.h index 75104b456c..b9a3259ead 100644 --- a/xfa/fxfa/parser/xfa_locale.h +++ b/xfa/fxfa/parser/xfa_locale.h @@ -25,14 +25,14 @@ class CXFA_XMLLocale : public IFX_Locale { void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override; void GetMonthName(int32_t nMonth, CFX_WideString& wsMonthName, - FX_BOOL bAbbr = TRUE) const override; + bool bAbbr = true) const override; void GetDayName(int32_t nWeek, CFX_WideString& wsDayName, - FX_BOOL bAbbr = TRUE) const override; + bool bAbbr = true) const override; void GetMeridiemName(CFX_WideString& wsMeridiemName, - FX_BOOL bAM = TRUE) const override; + bool bAM = true) const override; void GetTimeZone(FX_TIMEZONE& tz) const override; - void GetEraName(CFX_WideString& wsEraName, FX_BOOL bAD = TRUE) const override; + void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override; void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, CFX_WideString& wsPattern) const override; @@ -48,7 +48,7 @@ class CXFA_XMLLocale : public IFX_Locale { CFX_WideString& wsPattern) const; CFX_WideString GetCalendarSymbol(const CFX_ByteStringC& symbol, int index, - FX_BOOL bAbbr) const; + bool bAbbr) const; private: std::unique_ptr<CXML_Element> m_pLocaleData; @@ -67,14 +67,14 @@ class CXFA_NodeLocale : public IFX_Locale { void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override; void GetMonthName(int32_t nMonth, CFX_WideString& wsMonthName, - FX_BOOL bAbbr = TRUE) const override; + bool bAbbr = true) const override; void GetDayName(int32_t nWeek, CFX_WideString& wsDayName, - FX_BOOL bAbbr = TRUE) const override; + bool bAbbr = true) const override; void GetMeridiemName(CFX_WideString& wsMeridiemName, - FX_BOOL bAM = TRUE) const override; + bool bAM = true) const override; void GetTimeZone(FX_TIMEZONE& tz) const override; - void GetEraName(CFX_WideString& wsEraName, FX_BOOL bAD = TRUE) const override; + void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override; void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, CFX_WideString& wsPattern) const override; @@ -90,7 +90,7 @@ class CXFA_NodeLocale : public IFX_Locale { const CFX_WideStringC& symbol_type) const; CFX_WideString GetCalendarSymbol(XFA_Element eElement, int index, - FX_BOOL bAbbr) const; + bool bAbbr) const; CXFA_Node* const m_pLocale; }; |