summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-09-11 00:46:58 +0200
committerEike Rathke <erack@redhat.com>2022-09-11 11:31:30 +0200
commit5f5f2f8107b6176654bfb9a30c21b7d5e0c62c6f (patch)
tree202bda589543b818348ae39cdbfdc385a406c2db /sc/inc
parent38db900c1f7b471dfdf575bbda522a792db51372 (diff)
ScValueIterator ScDocument& parameter is now superfluous
Since commit 3be1cdce9d92cbadca1b276b3193c727032ea717 ScInterpreterContext is passed that has it. Just a minor change for a const ScDocument&. Change-Id: I388ff55393056c52f85d7543fcfb6c549fc2a346 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139759 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dociter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index c8b51b9e24ff..b73d175a000f 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -52,7 +52,7 @@ class ScValueIterator // walk through all values in an area
{
typedef sc::CellStoreType::const_position_type PositionType;
- ScDocument& mrDoc;
+ const ScDocument& mrDoc;
ScInterpreterContext& mrContext;
const ScAttrArray* pAttrArray;
sal_uInt32 nNumFormat; // for CalcAsShown
@@ -84,7 +84,7 @@ class ScValueIterator // walk through all values in an area
public:
ScValueIterator(ScInterpreterContext& rContext,
- ScDocument& rDocument, const ScRange& rRange, SubtotalFlags nSubTotalFlags = SubtotalFlags::NONE,
+ const ScRange& rRange, SubtotalFlags nSubTotalFlags = SubtotalFlags::NONE,
bool bTextAsZero = false );
void GetCurNumFmtInfo( SvNumFormatType& nType, sal_uInt32& nIndex );