svx/source/svdraw/svdedxv.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9b9bf0d68165349e13245746ea72ea5c87b829e
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Apr 22 19:19:46 2021 +0200
Commit:     Noel Grandin <noel.gran...@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.gran...@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;
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to