summaryrefslogtreecommitdiff
path: root/sc/inc/dociter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r--sc/inc/dociter.hxx50
1 files changed, 25 insertions, 25 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 30d93379eae3..77541cec1511 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -61,11 +61,11 @@ class ScValueIterator // walk through all values in an area
SCCOL mnCol;
SCTAB mnTab;
SCROW nAttrEndRow;
- SubtotalFlags mnSubTotalFlags;
+ SubtotalFlags const mnSubTotalFlags;
SvNumFormatType nNumFmtType;
bool bNumValid;
- bool bCalcAsShown;
- bool bTextAsZero;
+ bool const bCalcAsShown;
+ bool const bTextAsZero;
const sc::CellStoreType* mpCells;
PositionType maCurPos;
@@ -147,12 +147,12 @@ private:
const ScAttrArray* pAttrArray;
sal_uInt32 nNumFormat; // for CalcAsShown
sal_uInt32 nNumFmtIndex;
- SCCOL nCol;
+ SCCOL const nCol;
SCROW nRow;
SCROW nAttrEndRow;
- SCTAB nTab;
+ SCTAB const nTab;
SvNumFormatType nNumFmtType;
- bool bCalcAsShown;
+ bool const bCalcAsShown;
};
class DataAccessMatrix : public DataAccess
@@ -213,7 +213,7 @@ class ScCellIterator
ScAddress maCurPos;
PositionType maCurColPos;
- SubtotalFlags mnSubTotalFlags;
+ SubtotalFlags const mnSubTotalFlags;
ScRefCellValue maCurCell;
@@ -370,9 +370,9 @@ class ScDocAttrIterator // all attribute areas
private:
ScDocument* pDoc;
SCTAB nTab;
- SCCOL nEndCol;
- SCROW nStartRow;
- SCROW nEndRow;
+ SCCOL const nEndCol;
+ SCROW const nStartRow;
+ SCROW const nEndRow;
SCCOL nCol;
std::unique_ptr<ScAttrIterator>
pColIter;
@@ -391,9 +391,9 @@ class ScAttrRectIterator // all attribute areas, including areas stre
private:
ScDocument* pDoc;
SCTAB nTab;
- SCCOL nEndCol;
- SCROW nStartRow;
- SCROW nEndRow;
+ SCCOL const nEndCol;
+ SCROW const nStartRow;
+ SCROW const nEndRow;
SCCOL nIterStartCol;
SCCOL nIterEndCol;
std::unique_ptr<ScAttrIterator>
@@ -422,10 +422,10 @@ class ScHorizontalCellIterator // walk through all non empty cells in an ar
ScDocument* pDoc;
SCTAB mnTab;
- SCCOL nStartCol;
- SCCOL nEndCol;
- SCROW nStartRow;
- SCROW nEndRow;
+ SCCOL const nStartCol;
+ SCCOL const nEndCol;
+ SCROW const nStartRow;
+ SCROW const nEndRow;
SCCOL mnCol;
SCROW mnRow;
ScRefCellValue maCurCell;
@@ -462,7 +462,7 @@ private:
SCROW nCurRow;
SCTAB nCurTab;
SCROW nAttrEndRow;
- bool bCalcAsShown;
+ bool const bCalcAsShown;
public:
@@ -480,10 +480,10 @@ class ScHorizontalAttrIterator
private:
ScDocument* pDoc;
SCTAB nTab;
- SCCOL nStartCol;
- SCROW nStartRow;
- SCCOL nEndCol;
- SCROW nEndRow;
+ SCCOL const nStartCol;
+ SCROW const nStartRow;
+ SCCOL const nEndCol;
+ SCROW const nEndRow;
std::unique_ptr<SCROW[]> pNextEnd;
std::unique_ptr<SCCOL[]> pHorizEnd;
@@ -558,7 +558,7 @@ public:
private:
::std::set<SCROW>& mrBreaks;
::std::set<SCROW>::const_iterator maItr;
- ::std::set<SCROW>::const_iterator maEnd;
+ ::std::set<SCROW>::const_iterator const maEnd;
};
class ScDocRowHeightUpdater
@@ -588,8 +588,8 @@ private:
private:
ScDocument& mrDoc;
VclPtr<OutputDevice> mpOutDev;
- double mfPPTX;
- double mfPPTY;
+ double const mfPPTX;
+ double const mfPPTY;
const ::std::vector<TabRanges>* mpTabRangesArray;
};