[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 21 14:58:30 UTC 2018
sc/source/core/tool/scmatrix.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 893f2128ed451120e41dba1ee4c2f512ec6bb20e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 21 09:51:07 2018 +0100
Commit: Caolán McNamara <caolanm at 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 <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 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));
}
More information about the Libreoffice-commits
mailing list