diff --git a/sc/source/solver/SlpSolver.cxx b/sc/source/solver/SlpSolver.cxx index 8a855c845e8b..52ecb8862b0c 100644 --- a/sc/source/solver/SlpSolver.cxx +++ b/sc/source/solver/SlpSolver.cxx @@ -610,9 +610,9 @@ void SAL_CALL SLPSolver::solve() } updateCurvature(aB, aPointChange, aGradientChange); - aX = aTrial; - aGradient = aNewGradient; - aCells = aCellsNew; + aX = std::move(aTrial); + aGradient = std::move(aNewGradient); + aCells = std::move(aCellsNew); fMerit = fMeritTrial; double fRatio = fPredicted > fMinPredictedReduction ? fActual / fPredicted : 1.0;