summaryrefslogtreecommitdiff
path: root/sc/inc/math.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2016-05-03 21:22:28 -0400
committerKohei Yoshida <libreoffice@kohei.us>2016-05-04 02:23:30 +0000
commitfa507ae23e1e5e0dd73fe881284bfb41a2eb1315 (patch)
tree5b8a0b5baab8e7af38f3b8bb695bee49d3e1cfe3 /sc/inc/math.hxx
parentfe81d707b5b4e832b249ae879a75f336cd06a81f (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/math.hxx')
-rw-r--r--sc/inc/math.hxx2
1 files changed, 1 insertions, 1 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