From fa311ad62f935d6469b77936d477125d98dbee60 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 10 Oct 2021 14:13:55 +0200 Subject: loplugin:moveparam in svx Change-Id: I2e422235129f810feea5c17afa1332d8b7ac14ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123332 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/ClassificationDialog.hxx | 2 +- include/svx/numinf.hxx | 2 +- include/svx/sdr/overlay/overlayselection.hxx | 2 +- include/svx/svdmrkv.hxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 getResult(); - void setupValues(std::vector const& rInput); + void setupValues(std::vector&& 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 & GetDelFormats() const { return mvDelFormats; } - void SetDelFormats( std::vector const & ); + void SetDelFormats( std::vector && ); 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 const & rSubSelections = std::vector()); + std::vector && rSubSelections = std::vector()); void MarkAllObj(SdrPageView* pPV=nullptr); // pPage=NULL => all displayed pages void UnmarkAllObj(SdrPageView const * pPV=nullptr); // pPage=NULL => all displayed pages -- cgit