From 007e6c0f9559412788b903bcb6a7601e220c3be8 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 26 Feb 2016 14:31:56 -0800 Subject: Remove some FX_BOOLs Grepping for FX_BOOL and |==| on the same line gives a very strong clue that the expression won't be out of range of the |bool| type iteself. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1736323003 . --- xfa/src/fgas/include/fx_locale.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xfa/src/fgas/include/fx_locale.h') diff --git a/xfa/src/fgas/include/fx_locale.h b/xfa/src/fgas/include/fx_locale.h index cf35491f9b..c558af62d0 100644 --- a/xfa/src/fgas/include/fx_locale.h +++ b/xfa/src/fgas/include/fx_locale.h @@ -164,12 +164,12 @@ class CFX_Decimal { CFX_Decimal(const CFX_ByteStringC& str); operator CFX_WideString() const; operator double() const; - FX_BOOL operator==(const CFX_Decimal& val) const; - FX_BOOL operator<=(const CFX_Decimal& val) const; - FX_BOOL operator>=(const CFX_Decimal& val) const; - FX_BOOL operator!=(const CFX_Decimal& val) const; - FX_BOOL operator<(const CFX_Decimal& val) const; - FX_BOOL operator>(const CFX_Decimal& val) const; + bool operator==(const CFX_Decimal& val) const; + bool operator<=(const CFX_Decimal& val) const; + bool operator>=(const CFX_Decimal& val) const; + bool operator!=(const CFX_Decimal& val) const; + bool operator<(const CFX_Decimal& val) const; + bool operator>(const CFX_Decimal& val) const; CFX_Decimal operator+(const CFX_Decimal& val) const; CFX_Decimal operator-(const CFX_Decimal& val) const; CFX_Decimal operator*(const CFX_Decimal& val) const; -- cgit v1.2.3