From 7282014e362a1529a36c88eb308df8ed359c2cfa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 1 Feb 2019 15:15:16 +0100 Subject: tdf#50916 Makes numbers of columns dynamic. With this commit we are making numbers of columns dynamic, but the number of maximum supported columns will be the same (1024). Such approach will allow us to check issues (eg. performance, LO format etc.), and improve it. Increasing number of maximum columns, will be done in separate commit. Change-Id: Ibac4101e9ffc05e3548eca1c198f6319ac7ff9aa Reviewed-on: https://gerrit.libreoffice.org/44802 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek --- sc/inc/dociter.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/inc/dociter.hxx') diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 5bb957059b03..8604abcdd453 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -370,7 +370,7 @@ class ScDocAttrIterator // all attribute areas private: ScDocument* pDoc; SCTAB nTab; - SCCOL const nEndCol; + SCCOL nEndCol; SCROW const nStartRow; SCROW const nEndRow; SCCOL nCol; @@ -391,7 +391,7 @@ class ScAttrRectIterator // all attribute areas, including areas stre private: ScDocument* pDoc; SCTAB nTab; - SCCOL const nEndCol; + SCCOL nEndCol; SCROW const nStartRow; SCROW const nEndRow; SCCOL nIterStartCol; @@ -423,7 +423,7 @@ class ScHorizontalCellIterator // walk through all non empty cells in an ar ScDocument* pDoc; SCTAB mnTab; SCCOL const nStartCol; - SCCOL const nEndCol; + SCCOL nEndCol; SCROW const nStartRow; SCROW const nEndRow; SCCOL mnCol; @@ -482,7 +482,7 @@ private: SCTAB nTab; SCCOL const nStartCol; SCROW const nStartRow; - SCCOL const nEndCol; + SCCOL nEndCol; SCROW const nEndRow; std::unique_ptr pNextEnd; -- cgit v1.2.3