summaryrefslogtreecommitdiff
path: root/sc/inc/columnspanset.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/columnspanset.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/columnspanset.hxx')
-rw-r--r--sc/inc/columnspanset.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 4eb83b916deb..a62bf6aec9f9 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -27,8 +27,8 @@ class SingleColumnSpanSet;
struct RowSpan
{
- SCROW mnRow1;
- SCROW mnRow2;
+ SCROW const mnRow1;
+ SCROW const mnRow2;
RowSpan(SCROW nRow1, SCROW nRow2);
};
@@ -62,7 +62,7 @@ private:
typedef std::vector<std::unique_ptr<ColumnType>> TableType;
std::vector<std::unique_ptr<TableType>> maTables;
- bool mbInit;
+ bool const mbInit;
ColumnType& getColumn(SCTAB nTab, SCCOL nCol);