summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-09-28 11:26:00 +0200
committerJulien Nabet <serval2412@yahoo.fr>2024-09-28 13:33:11 +0200
commit32fccb862ff54558895b147e387bfa048d4dea17 (patch)
tree5d4302d1e74d6fc6c2897dbebe6227f708164f1a /sc
parent6a2333c1663d862dec7b3e0450148c31afd83ca5 (diff)
cid#1620317 COPY_INSTEAD_OF_MOVE
Change-Id: I7d31cf2a977cb095a6d3cd89f9cadf82bea3bddd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174099 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/solveruno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/solveruno.cxx b/sc/source/ui/unoobj/solveruno.cxx
index 09b5dcac8b0c..7257b109edd3 100644
--- a/sc/source/ui/unoobj/solveruno.cxx
+++ b/sc/source/ui/unoobj/solveruno.cxx
@@ -535,7 +535,7 @@ uno::Sequence<sheet::ModelConstraint> SAL_CALL ScSolverSettings::getConstraints(
// Adds the constraint to the sequence
aRet.realloc(nCount + 1);
auto pArrConstraints = aRet.getArray();
- pArrConstraints[nCount] = aConstraint;
+ pArrConstraints[nCount] = std::move(aConstraint);
nCount++;
}