summaryrefslogtreecommitdiff
path: root/include/svx
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/svx
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/svx')
-rw-r--r--include/svx/ColorSets.hxx2
-rw-r--r--include/svx/svdoedge.hxx2
-rw-r--r--include/svx/svdundo.hxx2
3 files changed, 3 insertions, 3 deletions
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;