chart2/source/view/main/PropertyMapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d4758f3d3d083b6b59fa0c0f37dae473770f3c45
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Feb 17 14:30:50 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Feb 17 14:20:46 2022 +0100

    micro-optimisation: use std::move
    
    Change-Id: I3acee160130185e65a154bf205fcdcf52b9f8797
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130070
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/chart2/source/view/main/PropertyMapper.cxx 
b/chart2/source/view/main/PropertyMapper.cxx
index ec49c032d61d..0ee929bc70a9 100644
--- a/chart2/source/view/main/PropertyMapper.cxx
+++ b/chart2/source/view/main/PropertyMapper.cxx
@@ -59,7 +59,7 @@ void PropertyMapper::setMappedProperties(
             {
                 //do not set empty anys because of performance (otherwise 
SdrAttrObj::ItemChange will take much longer)
                 pNames[nN]  = rTarget;
-                pValues[nN] = aAny;
+                pValues[nN] = std::move(aAny);
                 ++nN;
             }
         }

Reply via email to