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/source/ui/StatisticsDialogs | |
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/source/ui/StatisticsDialogs')
-rw-r--r-- | sc/source/ui/StatisticsDialogs/RegressionDialog.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx index b150e8d8b5ff..ce7208155a76 100644 --- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx @@ -280,7 +280,7 @@ bool ScRegressionDialog::InputRangesValid() return true; } -size_t ScRegressionDialog::GetRegressionTypeIndex() +size_t ScRegressionDialog::GetRegressionTypeIndex() const { if (mxLinearRadioButton->get_active()) return 0; diff --git a/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx b/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx index f793417f04a7..02d709bfd079 100644 --- a/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx +++ b/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx @@ -241,7 +241,7 @@ DataCellIterator::DataCellIterator(const ScRange& aInputRange, bool aByColumn) DataCellIterator::~DataCellIterator() {} -bool DataCellIterator::hasNext() +bool DataCellIterator::hasNext() const { if(mByColumn) return mCol <= mInputRange.aEnd.Col(); |