summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-17 14:30:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-17 14:20:46 +0100
commitd4758f3d3d083b6b59fa0c0f37dae473770f3c45 (patch)
tree81bbc5a7a28e3c93bd257baf081ac85cf0732f86 /chart2
parent157b027c4cfca2582b1c1bdb66992560084ac008 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/PropertyMapper.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}