[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon May 2 14:32:22 UTC 2016
sc/source/core/data/column.cxx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit a0b9fa819c9193dee1405cee13690adf00e2d9b9
Author: Eike Rathke <erack at redhat.com>
Date: Mon May 2 16:25:01 2016 +0200
Resolves: tdf#99417 explicitly track formula cells for BROADCAST_BROADCASTERS
Change-Id: I717fc6d1d7c2bc01ed2a256f6fc08a055be24e4b
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index df0afc5..faf7f3a2 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -3173,7 +3173,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;
}
More information about the Libreoffice-commits
mailing list