summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svddrgmt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-07 08:56:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-07 10:33:20 +0100
commit4ae68d59dcb27532d1b0643a37e65f679f0af0f8 (patch)
tree470befa10d827e1a971ecd208834eb42187024f2 /svx/source/svdraw/svddrgmt.cxx
parent839cf255e2670fdf8e974af38432aacf63be4e90 (diff)
can std::move these Primitive2DContainer values
Change-Id: Id40fdc3915107575eec734de704a52c5fb3715f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163069 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svddrgmt.cxx')
-rw-r--r--svx/source/svdraw/svddrgmt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 1a8609c6b865..101e4369d40e 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -770,12 +770,12 @@ void SdrDragMethod::CreateOverlayGeometry(
if(DoAddConnectorOverlays())
{
- const drawinglayer::primitive2d::Primitive2DContainer aConnectorOverlays(AddConnectorOverlays());
+ drawinglayer::primitive2d::Primitive2DContainer aConnectorOverlays(AddConnectorOverlays());
if(!aConnectorOverlays.empty())
{
// add connector overlays to transparent part
- aResultTransparent.append(aConnectorOverlays);
+ aResultTransparent.append(std::move(aConnectorOverlays));
}
}