[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 11 00:09:02 UTC 2019


 sc/source/core/tool/scmatrix.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f4844297c9cdbbf341e3e7d5e2e0c0c18cb40553
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Thu Jan 10 13:56:27 2019 +0100
Commit:     Eike Rathke <erack at 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 <erack at 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);
     }


More information about the Libreoffice-commits mailing list