diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-25 13:31:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 10:15:00 +0200 |
commit | bdc8fda4be875ff9cfa9c3f4b5e40284a8637374 (patch) | |
tree | 67eb55dcd1e9649e074e49ca0dd069920a2ae866 /sc/inc/recursionhelper.hxx | |
parent | b11268fadf76618ad37d27219b7f51255f8f8b5a (diff) |
loplugin:constmethod in sc
Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4
Reviewed-on: https://gerrit.libreoffice.org/79543
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/recursionhelper.hxx')
-rw-r--r-- | sc/inc/recursionhelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/recursionhelper.hxx b/sc/inc/recursionhelper.hxx index d91ee0cfbe58..2a72be7b9d76 100644 --- a/sc/inc/recursionhelper.hxx +++ b/sc/inc/recursionhelper.hxx @@ -70,7 +70,7 @@ public: sal_uInt16 GetRecursionCount() const { return nRecursionCount; } void IncRecursionCount() { ++nRecursionCount; } void DecRecursionCount() { --nRecursionCount; } - sal_uInt16 GetDepComputeLevel() { return nDependencyComputationLevel; } + sal_uInt16 GetDepComputeLevel() const { return nDependencyComputationLevel; } void IncDepComputeLevel() { ++nDependencyComputationLevel; } void DecDepComputeLevel() { --nDependencyComputationLevel; } /// A pure recursion return, no iteration. @@ -92,7 +92,7 @@ public: void IncIteration(); void EndIteration(); - const ScFormulaRecursionList::iterator& GetLastIterationStart() { return aLastIterationStart; } + const ScFormulaRecursionList::iterator& GetLastIterationStart() const { return aLastIterationStart; } ScFormulaRecursionList::iterator GetIterationStart(); ScFormulaRecursionList::iterator GetIterationEnd(); /** Any return, recursion or iteration, iteration is always coupled with |