diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 14:30:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 14:20:46 +0100 |
commit | d4758f3d3d083b6b59fa0c0f37dae473770f3c45 (patch) | |
tree | 81bbc5a7a28e3c93bd257baf081ac85cf0732f86 /chart2 | |
parent | 157b027c4cfca2582b1c1bdb66992560084ac008 (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.cxx | 2 |
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; } } |