sc/source/core/data/column.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
New commits: commit f6d54d43fc9c7b353a97162d026d58402bfbab20 Author: Eike Rathke <er...@redhat.com> Date: Mon May 2 16:25:01 2016 +0200 Resolves: tdf#99417 explicitly track formula cells for BROADCAST_BROADCASTERS Change-Id: I717fc6d1d7c2bc01ed2a256f6fc08a055be24e4b (cherry picked from commit a0b9fa819c9193dee1405cee13690adf00e2d9b9) Reviewed-on: https://gerrit.libreoffice.org/24592 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 8e835b9..596e338 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -3169,7 +3169,14 @@ void ScColumn::SetDirty( SCROW nRow1, SCROW nRow2, BroadcastMode eMode ) sc::ProcessFormula(maCells.begin(), maCells, nRow1, nRow2, aHdl); // Broadcast all broadcasters in range. ScHint aHint( SC_HINT_DATACHANGED, ScAddress( nCol, nRow1, nTab)); - BroadcastBroadcasters( nRow1, nRow2, aHint); + if (BroadcastBroadcasters( nRow1, nRow2, aHint)) + { + // SetDirtyOnRangeHandler implicitly tracks notified + // formulas via ScDocument::Broadcast(), which + // BroadcastBroadcastersHandler doesn't, so explicitly + // track them here. + pDocument->TrackFormulas(); + } } break; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits