diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 14:13:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 19:45:34 +0200 |
commit | fa311ad62f935d6469b77936d477125d98dbee60 (patch) | |
tree | d712ee8e0e16065923fefba70f433e760a6627b6 /include | |
parent | 6af0da482d8d387f181cb9c2cf9301859c9683cb (diff) |
loplugin:moveparam in svx
Change-Id: I2e422235129f810feea5c17afa1332d8b7ac14ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123332
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/ClassificationDialog.hxx | 2 | ||||
-rw-r--r-- | include/svx/numinf.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/overlay/overlayselection.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdmrkv.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/ClassificationDialog.hxx b/include/svx/ClassificationDialog.hxx index b83068ba1c1e..d018662b5366 100644 --- a/include/svx/ClassificationDialog.hxx +++ b/include/svx/ClassificationDialog.hxx @@ -87,7 +87,7 @@ public: ~ClassificationDialog() override; std::vector<ClassificationResult> getResult(); - void setupValues(std::vector<ClassificationResult> const& rInput); + void setupValues(std::vector<ClassificationResult>&& rInput); }; } // end svx namespace diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx index 2002638d794d..ef1219988e04 100644 --- a/include/svx/numinf.hxx +++ b/include/svx/numinf.hxx @@ -56,7 +56,7 @@ public: double GetValueDouble() const { return nDoubleVal; } const std::vector<sal_uInt32> & GetDelFormats() const { return mvDelFormats; } - void SetDelFormats( std::vector<sal_uInt32> const & ); + void SetDelFormats( std::vector<sal_uInt32> && ); SvxNumberValueType GetValueType() const { return eValueType; } diff --git a/include/svx/sdr/overlay/overlayselection.hxx b/include/svx/sdr/overlay/overlayselection.hxx index f2402500b8d5..d456ac6bf11b 100644 --- a/include/svx/sdr/overlay/overlayselection.hxx +++ b/include/svx/sdr/overlay/overlayselection.hxx @@ -67,7 +67,7 @@ namespace sdr::overlay virtual drawinglayer::primitive2d::Primitive2DContainer getOverlayObjectPrimitive2DSequence() const override; // data write access - void setRanges(const std::vector< basegfx::B2DRange >& rNew); + void setRanges(std::vector< basegfx::B2DRange >&& rNew); }; } // end of namespace sdr::overlay diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index 9b33b07c3a22..d4ece164bece 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -310,7 +310,7 @@ public: // Just objects are marked which are inclosed completely void MarkObj(const tools::Rectangle& rRect, bool bUnmark); void MarkObj(SdrObject* pObj, SdrPageView* pPV, bool bUnmark = false, bool bDoNoSetMarkHdl = false, - std::vector<basegfx::B2DRectangle> const & rSubSelections = std::vector<basegfx::B2DRectangle>()); + std::vector<basegfx::B2DRectangle> && rSubSelections = std::vector<basegfx::B2DRectangle>()); void MarkAllObj(SdrPageView* pPV=nullptr); // pPage=NULL => all displayed pages void UnmarkAllObj(SdrPageView const * pPV=nullptr); // pPage=NULL => all displayed pages |