sc/source/core/tool/scmatrix.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f4844297c9cdbbf341e3e7d5e2e0c0c18cb40553 Author: Eike Rathke <er...@redhat.com> AuthorDate: Thu Jan 10 13:56:27 2019 +0100 Commit: Eike Rathke <er...@redhat.com> CommitDate: Fri Jan 11 01:08:37 2019 +0100 Related: tdf#44076 use sc::power() in ScMatrix::PowOp() Change-Id: I13a47419bd57d71482793d5f9a8429101793aad7 Reviewed-on: https://gerrit.libreoffice.org/66092 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 8b3c8ffd5407..f7cb87d8f21f 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -3441,13 +3441,13 @@ void ScMatrix::PowOp( bool bFlag, double fVal, ScMatrix& rMat) { if (bFlag) { - auto pow_ = [](double a, double b){return pow(b, a);}; + auto pow_ = [](double a, double b){return sc::power(b, a);}; matop::MatOp<decltype(pow_)> aOp(pow_, pImpl->GetErrorInterpreter(), fVal); pImpl->ApplyOperation(aOp, *rMat.pImpl); } else { - auto pow_ = [](double a, double b){return pow(a, b);}; + auto pow_ = [](double a, double b){return sc::power(a, b);}; matop::MatOp<decltype(pow_)> aOp(pow_, pImpl->GetErrorInterpreter(), fVal); pImpl->ApplyOperation(aOp, *rMat.pImpl); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits