summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-22 19:19:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-23 08:59:14 +0200
commitf9b9bf0d68165349e13245746ea72ea5c87b829e (patch)
treea581f8f6e319571cca7dc4a7b300bee9eaa9e46b /svx
parentf62cb40bdfaf41cf8e989640f9be79f652f30914 (diff)
std::move optimisation
Change-Id: I626ae2fc3e8be7cb7770adfff2f99f0a7e130e93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114516 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index a4ae54035c2c..a5071163779c 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -565,7 +565,7 @@ void TextEditOverlayObject::checkDataChange(const basegfx::B2DRange& rMinTextEdi
if (aNewTextPrimitives != maTextPrimitives)
{
- maTextPrimitives = aNewTextPrimitives;
+ maTextPrimitives = std::move(aNewTextPrimitives);
bObjectChange = true;
}
}