summaryrefslogtreecommitdiff
path: root/sc/qa/unit/ucalc_column.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-11 10:46:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 07:56:12 +0200
commitfb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch)
tree93cf0598c86ba188f69ab30425ffea856ea9886b /sc/qa/unit/ucalc_column.cxx
parent40bc840da261fcc5652e5278dc2566b61f990884 (diff)
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/unit/ucalc_column.cxx')
-rw-r--r--sc/qa/unit/ucalc_column.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/unit/ucalc_column.cxx b/sc/qa/unit/ucalc_column.cxx
index dcf188b11c25..a650b628b20f 100644
--- a/sc/qa/unit/ucalc_column.cxx
+++ b/sc/qa/unit/ucalc_column.cxx
@@ -102,11 +102,11 @@ void Test::testSetFormula()
struct aInputs
{
const char* aName;
- SCROW nRow;
- SCCOL nCol;
+ SCROW const nRow;
+ SCCOL const nCol;
const char* aFormula1; // Represents the formula that is input to SetFormula function.
const char* aFormula2; // Represents the formula that is actually stored in the cell.
- formula::FormulaGrammar::Grammar eGram;
+ formula::FormulaGrammar::Grammar const eGram;
} aTest[] = {
{ "Rock and Roll" ,5 , 4 , "=SUM($D$2:$F$3)" ,"=SUM($D$2:$F$3)" , formula::FormulaGrammar::Grammar::GRAM_ENGLISH },