diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-13 15:03:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-14 18:10:19 +0100 |
commit | 6515ee03560f8d21f006fa75ffd2dbd4bc15fdc2 (patch) | |
tree | 0f55013b1b3e297d2b6e043416699d72d13f912a | |
parent | 0839896894f4a6ea615325ffa517750e970ab04f (diff) |
tdf#129908 Crash at Data > Group and outlone > AutoOutline
regression from
commit 7282014e362a1529a36c88eb308df8ed359c2cfa
tdf#50916 Makes numbers of columns dynamic.
Change-Id: Ie0eff58c7db5a3c85cfea480ca1fea5767fd8cfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86683
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit b56e0d7f7fb9f1ca9295ac2ba540a3cf778324b9)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86763
Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
Tested-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 4c36c7b63494..c35c92ad9be9 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -3700,6 +3700,8 @@ void ScTable::DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SC bool bFound; ScRange aRef; + nEndCol = ClampToAllocatedColumns(nEndCol); + StartOutlineTable(); // Rows |