diff options
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r-- | sc/source/core/data/table2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; |