diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 09:51:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 16:58:03 +0200 |
commit | 893f2128ed451120e41dba1ee4c2f512ec6bb20e (patch) | |
tree | 98b69beeafe648b28fdc968c09287041850938ab | |
parent | 73859a1c00d443714a1e5f2a1a8d16fe46877944 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |