summaryrefslogtreecommitdiff
path: root/tools/source/generic/fract.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-17 19:48:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-17 19:48:00 +0000
commit219eb043b3f3654fa8655af7df978d36d016744d (patch)
treedaadc728b0dfa11de77c2d00908f2a36cb64d416 /tools/source/generic/fract.cxx
parent968de06474c3b7f0e2658355ec155752725fc186 (diff)
WaE: C4805: Unsafe mix of bool and BOOL
Diffstat (limited to 'tools/source/generic/fract.cxx')
-rw-r--r--tools/source/generic/fract.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 538bee357801..4a4741c2b0a6 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -633,7 +633,7 @@ void Fraction::ReduceInaccurate( unsigned nSignificantBits )
|*
*************************************************************************/
-BOOL operator == ( const Fraction& rVal1, const Fraction& rVal2 )
+bool operator == ( const Fraction& rVal1, const Fraction& rVal2 )
{
if ( !rVal1.IsValid() || !rVal2.IsValid() )
return FALSE;
@@ -659,7 +659,7 @@ BOOL operator == ( const Fraction& rVal1, const Fraction& rVal2 )
// und (c*b) zu vergleichen. Das Ergebnis dieses Vergleichs wird
// zurueckgegeben.
-BOOL operator < ( const Fraction& rVal1, const Fraction& rVal2 )
+bool operator < ( const Fraction& rVal1, const Fraction& rVal2 )
{
if ( !rVal1.IsValid() || !rVal2.IsValid() )
return FALSE;
@@ -689,7 +689,7 @@ BOOL operator < ( const Fraction& rVal1, const Fraction& rVal2 )
// und (c*b) zu vergleichen. Das Ergebnis dieses Vergleichs wird
// zurueckgegeben.
-BOOL operator > ( const Fraction& rVal1, const Fraction& rVal2 )
+bool operator > ( const Fraction& rVal1, const Fraction& rVal2 )
{
if ( !rVal1.IsValid() || !rVal2.IsValid() )
return FALSE;