diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2016-05-03 21:22:28 -0400 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2016-05-04 02:23:30 +0000 |
commit | fa507ae23e1e5e0dd73fe881284bfb41a2eb1315 (patch) | |
tree | 5b8a0b5baab8e7af38f3b8bb695bee49d3e1cfe3 /sc/inc | |
parent | fe81d707b5b4e832b249ae879a75f336cd06a81f (diff) |
Replace namespace ScErrorCodes with formula...
and remove that 'using namespace' statement in the header...
Change-Id: I2f994af5088ce6d1ffe92c8d36285a4f6fdd2248
Reviewed-on: https://gerrit.libreoffice.org/24628
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/math.hxx | 2 | ||||
-rw-r--r-- | sc/inc/scmatrix.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/math.hxx b/sc/inc/math.hxx index 13355a9229cf..ecea704052a4 100644 --- a/sc/inc/math.hxx +++ b/sc/inc/math.hxx @@ -30,7 +30,7 @@ namespace sc { inline double div( const double& fNumerator, const double& fDenominator ) { return (fDenominator != 0.0) ? (fNumerator / fDenominator) : - CreateDoubleError( errDivisionByZero); + formula::CreateDoubleError( formula::errDivisionByZero); } /** Return fNumerator/fDenominator if fDenominator!=0 else +-Infinity if diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 3e41d5d478b1..aacb9cee4f99 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -64,7 +64,7 @@ struct ScMatrixValue const svl::SharedString& GetString() const { return aStr; } /// Only valid if ScMatrix methods indicate that this is no string! - sal_uInt16 GetError() const { return GetDoubleErrorValue( fVal); } + sal_uInt16 GetError() const { return formula::GetDoubleErrorValue( fVal); } /// Only valid if ScMatrix methods indicate that this is a boolean bool GetBoolean() const { return fVal != 0.0; } |