Kaydet (Commit) a606fc64 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#124822 CRASH: cutting and undoing

regression from
    commit 7282014e
    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: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 0fe112db
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment