From fb1d3b580763a333bbbfe115d09e1b5cd8849675 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Oct 2018 10:46:10 +0200 Subject: loplugin:constfields in sc Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/chartpos.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/inc/chartpos.hxx') diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx index 0069b1a80c50..ac79b8fb8ee8 100644 --- a/sc/inc/chartpos.hxx +++ b/sc/inc/chartpos.hxx @@ -37,9 +37,9 @@ class ScChartPositionMap std::unique_ptr[]> ppData; std::unique_ptr[]> ppColHeader; std::unique_ptr[]> ppRowHeader; - sal_uLong nCount; - SCCOL nColCount; - SCROW nRowCount; + sal_uLong const nCount; + SCCOL const nColCount; + SCROW const nRowCount; ScChartPositionMap( SCCOL nChartCols, SCROW nChartRows, SCCOL nColAdd, // header columns @@ -103,7 +103,7 @@ class ScDocument; class ScChartPositioner final // only parameter struct { ScRangeListRef aRangeListRef; - ScDocument* pDocument; + ScDocument* const pDocument; std::unique_ptr pPositionMap; ScChartGlue eGlue; SCCOL nStartCol; -- cgit v1.2.3