diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-13 17:45:26 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-13 18:03:10 -0500 |
commit | 603262b7d19da53eeb7235f6fa460777825c0ddf (patch) | |
tree | 9e73c5cfa1bc647424e2406fe7f49d6aadfb8ead /sc/inc/subtotal.hxx | |
parent | ScDPValueData->ScDPValue. The last 'Data' sounds very redundant. (diff) | |
download | core-603262b7d19da53eeb7235f6fa460777825c0ddf.tar.gz core-603262b7d19da53eeb7235f6fa460777825c0ddf.zip |
sal_Bool to bool.
Change-Id: I2599e12a9072a0ea34c62a9fd7982dd4630c329f
Diffstat (limited to 'sc/inc/subtotal.hxx')
-rw-r--r-- | sc/inc/subtotal.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/inc/subtotal.hxx b/sc/inc/subtotal.hxx index 443286806038..379bf10e7f0b 100644 --- a/sc/inc/subtotal.hxx +++ b/sc/inc/subtotal.hxx @@ -25,10 +25,9 @@ class SubTotal { public: - - static sal_Bool SafePlus( double& fVal1, double fVal2); - static sal_Bool SafeMult( double& fVal1, double fVal2); - static sal_Bool SafeDiv( double& fVal1, double fVal2); + static bool SafePlus( double& fVal1, double fVal2); + static bool SafeMult( double& fVal1, double fVal2); + static bool SafeDiv( double& fVal1, double fVal2); }; @@ -37,7 +36,7 @@ struct ScFunctionData // to calculate single functions ScSubTotalFunc eFunc; double nVal; long nCount; - sal_Bool bError; + bool bError; ScFunctionData( ScSubTotalFunc eFn ) : eFunc(eFn), nVal(0.0), nCount(0), bError(false) {} |