sc/source/core/tool/scmatrix.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 893f2128ed451120e41dba1ee4c2f512ec6bb20e
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Sep 21 09:51:07 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Sep 21 16:58:03 2018 +0200

    coverity#1438870 Big parameter passed by value
    
    Change-Id: If170645fa09ffc41948d1770df65b38d35a3f71e
    Reviewed-on: https://gerrit.libreoffice.org/60856
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 2ebf4ec3f7b7..3c983cd2ecc8 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2641,7 +2641,7 @@ void ScMatrixImpl::ExecuteOperation(const 
std::pair<size_t, size_t>& rStartPos,
     WalkElementBlockOperation aFunc(maMat.size().row,
             aDoubleFunc, aBoolFunc, aStringFunc, aEmptyFunc);
     maMat.walk(
-        aFunc,
+        std::move(aFunc),
         MatrixImplType::size_pair_type(rStartPos.first, rStartPos.second),
         MatrixImplType::size_pair_type(rEndPos.first, rEndPos.second));
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to