summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/RegressionDialog.hxx
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/inc/RegressionDialog.hxx
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/inc/RegressionDialog.hxx')
-rw-r--r--sc/source/ui/inc/RegressionDialog.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/RegressionDialog.hxx b/sc/source/ui/inc/RegressionDialog.hxx
index 7503e07c382d..f02fcb472f21 100644
--- a/sc/source/ui/inc/RegressionDialog.hxx
+++ b/sc/source/ui/inc/RegressionDialog.hxx
@@ -71,9 +71,9 @@ private:
FormulaTemplate& rTemplate,
size_t nRegressionIndex);
// Generic table writer
- static void WriteTable(std::function<CellValueGetter>& rCellGetter, size_t nRowsInTable,
+ static void WriteTable(const std::function<CellValueGetter>& rCellGetter, size_t nRowsInTable,
size_t nColsInTable, AddressWalkerWriter& rOutput,
- std::function<CellWriter>& rFunc);
+ const std::function<CellWriter>& rFunc);
DECL_LINK( CheckBoxHdl, CheckBox&, void );
DECL_LINK( NumericFieldHdl, Edit&, void );