summaryrefslogtreecommitdiff
path: root/sc/inc/formulagroup.hxx
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/inc/formulagroup.hxx
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/inc/formulagroup.hxx')
-rw-r--r--sc/inc/formulagroup.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index 593beb8c4bca..877655210f9e 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -36,12 +36,12 @@ struct FormulaGroupEntry
union
{
ScFormulaCell* mpCell; // non-shared formula cell
- ScFormulaCell** mpCells; // pointer to the top formula cell in a shared group.
+ ScFormulaCell** const mpCells; // pointer to the top formula cell in a shared group.
};
- size_t mnRow;
- size_t mnLength;
- bool mbShared;
+ size_t const mnRow;
+ size_t const mnLength;
+ bool const mbShared;
FormulaGroupEntry( ScFormulaCell** pCells, size_t nRow, size_t nLength );
@@ -60,8 +60,8 @@ struct FormulaGroupContext
struct ColKey
{
- SCTAB mnTab;
- SCCOL mnCol;
+ SCTAB const mnTab;
+ SCCOL const mnCol;
struct Hash
{