summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2018-01-28 13:29:21 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-29 12:57:00 +0100
commitd58105e4512fc8a44e68379215d0c79f55b871bc (patch)
tree91e0f82d2449625510f3e5f695ab01586c031e82 /sal
parent22776301906459a2cfeeee1f826f90243be2a76d (diff)
Translate German variable name
Korr -> Corr in math Change-Id: I33c3d0fa62aa0c4b6fd418ba2e49b90b019b8714 Reviewed-on: https://gerrit.libreoffice.org/48782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/math.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 9f25d653f3f1..8435715a1afc 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -75,7 +75,7 @@ static double getN10Exp(int nExp)
namespace {
-double const nKorrVal[] = {
+double const nCorrVal[] = {
0, 9e-1, 9e-2, 9e-3, 9e-4, 9e-5, 9e-6, 9e-7, 9e-8,
9e-9, 9e-10, 9e-11, 9e-12, 9e-13, 9e-14, 9e-15
};
@@ -539,7 +539,7 @@ inline void doubleToString(typename T::String ** pResult,
{
int nDigit;
if (nDigits-1 == 0 && i > 0 && i < 14)
- nDigit = static_cast< int >(floor( fValue + nKorrVal[15-i]));
+ nDigit = static_cast< int >(floor( fValue + nCorrVal[15-i]));
else
nDigit = static_cast< int >(fValue + 1E-15);
@@ -1116,7 +1116,7 @@ double SAL_CALL rtl_math_round(double fValue, int nDecPlaces,
else
nIndex = 15 - nExp;
- fValue = floor(fValue + 0.5 + nKorrVal[nIndex]);
+ fValue = floor(fValue + 0.5 + nCorrVal[nIndex]);
}
break;
case rtl_math_RoundingMode_Down: