sc/source/core/inc/interpre.hxx | 2 - sc/source/core/tool/interpr3.cxx | 6 ++--- scaddins/source/analysis/analysishelper.cxx | 2 - vcl/source/bitmap/BitmapConvolutionMatrixFilter.cxx | 22 ++++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-)
New commits: commit 0661337767b0a07990ea72898b1bd9837306c467 Author: Simon Chenery <simon_chen...@yahoo.com> AuthorDate: Sat Apr 26 14:04:49 2025 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Wed Apr 30 09:36:53 2025 +0200 tdf#164954 rename German abbreviation "Koeff" to English "Coeff" in vars, funcs The German word "Koeffizient" translates to "Coefficient" in English. Change-Id: I38cbb327df085a607cb6922003fa3f07e27eca8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184663 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index f724acc3a3ff..abeb868c45b2 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -996,7 +996,7 @@ private: double GetFDist(double x, double fF1, double fF2); double GetTDist( double T, double fDF, int nType ); double Fakultaet(double x); - static double BinomKoeff(double n, double k); + static double BinomCoeff(double n, double k); double GetGamma(double x); static double GetLogGamma(double x); double GetBeta(double fAlpha, double fBeta); diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index 8567c0a8fde0..2b10e0f1a9e4 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -459,7 +459,7 @@ double ScInterpreter::Fakultaet(double x) return x; } -double ScInterpreter::BinomKoeff(double n, double k) +double ScInterpreter::BinomCoeff(double n, double k) { // this method has been duplicated as BinomialCoefficient() // in scaddins/source/analysis/analysishelper.cxx @@ -1181,7 +1181,7 @@ void ScInterpreter::ScCombin() if (k < 0.0 || n < 0.0 || k > n) PushIllegalArgument(); else - PushDouble(BinomKoeff(n, k)); + PushDouble(BinomCoeff(n, k)); } } @@ -1194,7 +1194,7 @@ void ScInterpreter::ScCombinA() if (k < 0.0 || n < 0.0 || k > n) PushIllegalArgument(); else - PushDouble(BinomKoeff(n + k - 1, k)); + PushDouble(BinomCoeff(n + k - 1, k)); } } diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index c8c20fd79672..73673bd4e593 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -590,7 +590,7 @@ double GetYearFrac( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDat double BinomialCoefficient( double n, double k ) { - // This method is a copy of BinomKoeff() + // This method is a copy of BinomCoeff() // found in sc/source/core/tool/interpr3.cxx double nVal = 0.0; diff --git a/vcl/source/bitmap/BitmapConvolutionMatrixFilter.cxx b/vcl/source/bitmap/BitmapConvolutionMatrixFilter.cxx index 2d5355439db4..6d49449cad7c 100644 --- a/vcl/source/bitmap/BitmapConvolutionMatrixFilter.cxx +++ b/vcl/source/bitmap/BitmapConvolutionMatrixFilter.cxx @@ -29,7 +29,7 @@ BitmapEx BitmapConvolutionMatrixFilter::execute(BitmapEx const& rBitmapEx) const if (!pWriteAcc) return BitmapEx(); - std::array<std::array<sal_Int32, 256>, 9> aKoeff; + std::array<std::array<sal_Int32, 256>, 9> aCoeff; // create LUT of products of matrix value and possible color component values for (sal_Int32 nY = 0; nY < 9; nY++) @@ -37,7 +37,7 @@ BitmapEx BitmapConvolutionMatrixFilter::execute(BitmapEx const& rBitmapEx) const for (sal_Int32 nX = 0, nTmp = 0, nMatrixVal = mrMatrix[nY]; nX < 256; nX++, nTmp += nMatrixVal) { - aKoeff[nY][nX] = nTmp; + aCoeff[nY][nX] = nTmp; } } @@ -87,52 +87,52 @@ BitmapEx BitmapConvolutionMatrixFilter::execute(BitmapEx const& rBitmapEx) const for (sal_Int32 nX = 0; nX < nWidth; nX++) { // first row - sal_Int32* pTmp = aKoeff[0].data(); + sal_Int32* pTmp = aCoeff[0].data(); BitmapColor* pColor = pRowTmp1 + nX; sal_Int32 nSumR = pTmp[pColor->GetRed()]; sal_Int32 nSumG = pTmp[pColor->GetGreen()]; sal_Int32 nSumB = pTmp[pColor->GetBlue()]; - pTmp = aKoeff[1].data(); + pTmp = aCoeff[1].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; - pTmp = aKoeff[2].data(); + pTmp = aCoeff[2].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; // second row - pTmp = aKoeff[3].data(); + pTmp = aCoeff[3].data(); pColor = pRowTmp2 + nX; nSumR += pTmp[pColor->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; - pTmp = aKoeff[4].data(); + pTmp = aCoeff[4].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; - pTmp = aKoeff[5].data(); + pTmp = aCoeff[5].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; // third row - pTmp = aKoeff[6].data(); + pTmp = aCoeff[6].data(); pColor = pRowTmp3 + nX; nSumR += pTmp[pColor->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; - pTmp = aKoeff[7].data(); + pTmp = aCoeff[7].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()]; - pTmp = aKoeff[8].data(); + pTmp = aCoeff[8].data(); nSumR += pTmp[(++pColor)->GetRed()]; nSumG += pTmp[pColor->GetGreen()]; nSumB += pTmp[pColor->GetBlue()];