sc/source/core/data/table2.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit a606fc64cb18df14f01f2e14e677a1e729025ad7 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Apr 18 16:06:09 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Apr 18 18:24:40 2019 +0200
tdf#124822 CRASH: cutting and undoing regression from commit 7282014e362a1529a36c88eb308df8ed359c2cfa Date: Fri Feb 1 15:15:16 2019 +0100 tdf#50916 Makes numbers of columns dynamic. Change-Id: I17312ca978a83a431dfaf6edda2c98e6302eb2d1 Reviewed-on: https://gerrit.libreoffice.org/70938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 4c303d9d3996..4880e02d45c7 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1852,6 +1852,7 @@ bool ScTable::BroadcastBroadcasters( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCRO bool bBroadcasted = false; sc::AutoCalcSwitch aSwitch(*pDocument, false); rHint.GetAddress().SetTab(nTab); + nCol2 = ClampToAllocatedColumns(nCol2); for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol) bBroadcasted |= aCol[nCol].BroadcastBroadcasters( nRow1, nRow2, rHint); return bBroadcasted; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits