diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-09 08:34:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-09 12:08:41 +0200 |
commit | aac1adf9c5dca96906a2bd206479af767f01f105 (patch) | |
tree | 87ee8817f30c3186a34988045a8263842840a86f /basegfx/source/tools | |
parent | c3385a2479fd511be512e202189c6ad3801a034c (diff) |
cid#1554691 COPY_INSTEAD_OF_MOVE
Change-Id: I49597d2f1dc09e843951d10618aa75f702dc70eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170190
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'basegfx/source/tools')
-rw-r--r-- | basegfx/source/tools/gradienttools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/tools/gradienttools.cxx b/basegfx/source/tools/gradienttools.cxx index 8f3e8ae83c06..93bddd21c285 100644 --- a/basegfx/source/tools/gradienttools.cxx +++ b/basegfx/source/tools/gradienttools.cxx @@ -466,8 +466,8 @@ namespace basegfx // copy on 'real' change, that means data was added. // This should always be the cease and should have been // detected as such above, see bNeedToSyncronize - rColorStops = aNewColor; - rAlphaStops = aNewAlpha; // MCGR: tdf#155537 used wrong result here + rColorStops = std::move(aNewColor); + rAlphaStops = std::move(aNewAlpha); // MCGR: tdf#155537 used wrong result here } } } |