[Libreoffice-commits] core.git: svx/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 23 06:59:54 UTC 2021
svx/source/svdraw/svdedxv.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f9b9bf0d68165349e13245746ea72ea5c87b829e
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Apr 22 19:19:46 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Apr 23 08:59:14 2021 +0200
std::move optimisation
Change-Id: I626ae2fc3e8be7cb7770adfff2f99f0a7e130e93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114516
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
}
}
More information about the Libreoffice-commits
mailing list