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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 21 11:00:14 UTC 2018


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

New commits:
commit 4a5ed266e64b892dde8a3e36be042e7e9d307eae
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 21 09:50:21 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 21 12:59:42 2018 +0200

    unused returns
    
    Change-Id: Ic5828b37951ed649a3d9abc18e1d44b979208d9b
    Reviewed-on: https://gerrit.libreoffice.org/60855
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index d5d3940ce9c8..2ebf4ec3f7b7 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2193,7 +2193,7 @@ void ScMatrixImpl::MergeDoubleArray( std::vector<double>& rArray, ScFullMatrix::
         case ScFullMatrix::Mul:
         {
             MergeDoubleArrayFunc<ArrayMul> aFunc(rArray);
-            aFunc = maMat.walk(std::move(aFunc));
+            maMat.walk(std::move(aFunc));
         }
         break;
         default:
@@ -2493,7 +2493,7 @@ template<typename T>
 void ScMatrixImpl::ApplyOperation(T aOp, ScMatrixImpl& rMat)
 {
     MatrixOpWrapper<T> aFunc(rMat.maMat, aOp);
-    aFunc = maMat.walk(aFunc);
+    maMat.walk(aFunc);
 }
 
 template<typename T>
@@ -2640,7 +2640,7 @@ void ScMatrixImpl::ExecuteOperation(const std::pair<size_t, size_t>& rStartPos,
 {
     WalkElementBlockOperation aFunc(maMat.size().row,
             aDoubleFunc, aBoolFunc, aStringFunc, aEmptyFunc);
-    aFunc = maMat.walk(
+    maMat.walk(
         aFunc,
         MatrixImplType::size_pair_type(rStartPos.first, rStartPos.second),
         MatrixImplType::size_pair_type(rEndPos.first, rEndPos.second));


More information about the Libreoffice-commits mailing list