summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 09:28:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 10:03:29 +0100
commit399ef5c1a1af6ded3cd650b3012d5990e5015365 (patch)
treeb5506080a97ea0ea731bf49f6464b3e5fcd2e217 /sc/source/ui/StatisticsDialogs
parentcf693b02159982bbcbbd13b564a81227fbba78cf (diff)
loplugin:constparams in sc
Change-Id: Ie211eea01eaceb718f701d3fdbb6253700d14e5e Reviewed-on: https://gerrit.libreoffice.org/66831 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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
index 5cc45f1cee4a..f61f6f11a531 100644
--- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
@@ -679,10 +679,10 @@ void ScRegressionDialog::WritePredictionsWithResiduals(AddressWalkerWriter& rOut
}
// Generic table writer
-void ScRegressionDialog::WriteTable(std::function<CellValueGetter>& rCellGetter,
+void ScRegressionDialog::WriteTable(const std::function<CellValueGetter>& rCellGetter,
size_t nRowsInTable, size_t nColsInTable,
AddressWalkerWriter& rOutput,
- std::function<CellWriter>& rFunc)
+ const std::function<CellWriter>& rFunc)
{
for (size_t nRowIdx = 0; nRowIdx < nRowsInTable; ++nRowIdx)
{