summaryrefslogtreecommitdiff
path: root/sc/inc/Sparkline.hxx
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 /sc/inc/Sparkline.hxx
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 'sc/inc/Sparkline.hxx')
-rw-r--r--sc/inc/Sparkline.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/Sparkline.hxx b/sc/inc/Sparkline.hxx
index 0c5a9deeb774..89e306a984b1 100644
--- a/sc/inc/Sparkline.hxx
+++ b/sc/inc/Sparkline.hxx
@@ -30,7 +30,7 @@ private:
std::shared_ptr<SparklineGroup> m_pSparklineGroup;
public:
- Sparkline(std::shared_ptr<SparklineGroup>& pSparklineGroup);
+ Sparkline(const std::shared_ptr<SparklineGroup>& pSparklineGroup);
Sparkline(const Sparkline&) = delete;
Sparkline& operator=(const Sparkline&) = delete;