diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-07 08:56:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-07 10:33:20 +0100 |
commit | 4ae68d59dcb27532d1b0643a37e65f679f0af0f8 (patch) | |
tree | 470befa10d827e1a971ecd208834eb42187024f2 /svx/source/svdraw/svddrgmt.cxx | |
parent | 839cf255e2670fdf8e974af38432aacf63be4e90 (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.cxx | 4 |
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)); } } |