summaryrefslogtreecommitdiff
path: root/sc/inc/cellsuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-05 11:21:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-07 13:32:30 +0200
commit5b112c8f8843613873181fce50990a8feef837ca (patch)
tree9ebd9d01d49a0c6a058de954dc167fd4ccb4ff5c /sc/inc/cellsuno.hxx
parent799753cb80f4c81a6e87bf016924e0f2a29f03f0 (diff)
clang-tidy modernize-pass-by-value in sc
Change-Id: Ia7ff651d1cbc119b36a9f8052594d03650988f59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137848 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/cellsuno.hxx')
-rw-r--r--sc/inc/cellsuno.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 5e3e1f69f7c7..65784be7ee3d 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -231,7 +231,7 @@ protected:
public:
ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR);
- ScCellRangesBase(ScDocShell* pDocSh, const ScRangeList& rR);
+ ScCellRangesBase(ScDocShell* pDocSh, ScRangeList aR);
virtual ~ScCellRangesBase() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1041,7 +1041,7 @@ private:
ScRangeList aRanges;
public:
- ScCellsObj(ScDocShell* pDocSh, const ScRangeList& rR);
+ ScCellsObj(ScDocShell* pDocSh, ScRangeList aR);
virtual ~ScCellsObj() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -1077,7 +1077,7 @@ private:
void CheckPos_Impl();
public:
- ScCellsEnumeration(ScDocShell* pDocSh, const ScRangeList& rR);
+ ScCellsEnumeration(ScDocShell* pDocSh, ScRangeList aR);
virtual ~ScCellsEnumeration() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;