summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-10 21:53:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-11 10:05:39 +0100
commit69b5f0b6579c6574a8fe68ab2a64208ec767db55 (patch)
tree1fafea3a72e113d0a915a1f79a2f4b3406d695a0 /include
parent4015b22dbc10bc246a3ef704d8b75e8f8cdca519 (diff)
loplugin:constparams
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/shape.hxx2
-rw-r--r--include/sfx2/dispatch.hxx2
-rw-r--r--include/svx/ColorSets.hxx2
-rw-r--r--include/svx/svdoedge.hxx2
-rw-r--r--include/svx/svdundo.hxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index d3fd710954a5..dc2a06a78b56 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -253,7 +253,7 @@ public:
void propagateDiagramHelper();
// for Writer it is necessary to migrate an existing helper to a new Shape
- void migrateDiagramHelperToNewShape(ShapePtr& pTarget);
+ void migrateDiagramHelperToNewShape(const ShapePtr& pTarget);
protected:
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 7b5e3611546e..3bfd3eab4074 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -171,7 +171,7 @@ public:
SAL_DLLPRIVATE void DoDeactivate_Impl( bool bMDI, SfxViewFrame const * pNew );
SAL_DLLPRIVATE void InvalidateBindings_Impl(bool);
- static boost::property_tree::ptree fillPopupMenu(css::uno::Reference<css::awt::XPopupMenu>& rMenu);
+ static boost::property_tree::ptree fillPopupMenu(const css::uno::Reference<css::awt::XPopupMenu>& rMenu);
};
#endif
diff --git a/include/svx/ColorSets.hxx b/include/svx/ColorSets.hxx
index ac9008cbeb32..07e24ee9302b 100644
--- a/include/svx/ColorSets.hxx
+++ b/include/svx/ColorSets.hxx
@@ -91,7 +91,7 @@ public:
static std::unique_ptr<Theme> FromAny(const css::uno::Any& rVal);
- void UpdateSdrPage(SdrPage* pPage);
+ void UpdateSdrPage(const SdrPage* pPage);
std::vector<Color> GetColors() const;
};
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 455d72f74014..6e3acb339797 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -290,7 +290,7 @@ public:
// helper method for SdrDragMethod::AddConnectorOverlays. Adds an overlay polygon for
// this connector to rResult.
- basegfx::B2DPolygon ImplAddConnectorOverlay(SdrDragMethod& rDragMethod, bool bTail1, bool bTail2, bool bDetail) const;
+ basegfx::B2DPolygon ImplAddConnectorOverlay(const SdrDragMethod& rDragMethod, bool bTail1, bool bTail2, bool bDetail) const;
};
// The following item parameters of the SdrItemPool are used to
diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index a6cf4b497212..c4116616e43a 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -387,7 +387,7 @@ private:
void Do(::std::vector<sal_Int32> & rSortOrder);
public:
- SdrUndoSort(SdrPage & rPage,
+ SdrUndoSort(const SdrPage & rPage,
::std::vector<sal_Int32> const& rSortOrder);
virtual void Undo() override;