diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-08 06:43:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-08 09:05:19 +0200 |
commit | 9fe2ead3d5355224dd94d6462b0ddc6100f6d4e3 (patch) | |
tree | 56746904f7c6428882d0e6b85a7b77f4853b535b /include/svx | |
parent | 0db7e46536fc23d5201ed9ff610a8ae0efd09a96 (diff) |
loplugin:moveparam in svx
Change-Id: I92fe2882c948e7297e5d54963647b4aa054f8f89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123241
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdr/overlay/overlayselection.hxx | 2 | ||||
-rw-r--r-- | include/svx/svddrgmt.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sdr/overlay/overlayselection.hxx b/include/svx/sdr/overlay/overlayselection.hxx index 75a19d48a387..f2402500b8d5 100644 --- a/include/svx/sdr/overlay/overlayselection.hxx +++ b/include/svx/sdr/overlay/overlayselection.hxx @@ -56,7 +56,7 @@ namespace sdr::overlay OverlaySelection( OverlayType eType, const Color& rColor, - const std::vector< basegfx::B2DRange >& rRanges, + std::vector< basegfx::B2DRange >&& rRanges, bool bBorder); virtual ~OverlaySelection() override; diff --git a/include/svx/svddrgmt.hxx b/include/svx/svddrgmt.hxx index dec7c1b8c42e..bb2ee6188b7c 100644 --- a/include/svx/svddrgmt.hxx +++ b/include/svx/svddrgmt.hxx @@ -104,7 +104,7 @@ private: bool mbIsPointDrag; public: - SdrDragEntryPointGlueDrag(const std::vector< basegfx::B2DPoint >& rPositions, bool bIsPointDrag); + SdrDragEntryPointGlueDrag(std::vector< basegfx::B2DPoint >&& rPositions, bool bIsPointDrag); virtual ~SdrDragEntryPointGlueDrag() override; virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequenceInCurrentState(SdrDragMethod& rDragMethod) override; |