From d8266cfcd657485e1ea817376eb00c9fb2c8260f Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 25 Nov 2014 17:12:44 -0500 Subject: fdo#86615: Track dependent formulas after bulk-broadcasting... of group area listeners. Change-Id: I3a8d2ceb57462c2c2c4cddb6e34966d2465e149b --- sc/source/core/data/bcaslot.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sc') diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx index 4290fbd402ea..8a5913fec84b 100644 --- a/sc/source/core/data/bcaslot.cxx +++ b/sc/source/core/data/bcaslot.cxx @@ -1204,6 +1204,7 @@ void ScBroadcastAreaSlotMachine::BulkBroadcastGroupAreas() sc::BulkDataHint aHint(*pDoc, NULL); + bool bBroadcasted = false; BulkGroupAreasType::iterator it = maBulkGroupAreas.begin(), itEnd = maBulkGroupAreas.end(); for (; it != itEnd; ++it) { @@ -1213,9 +1214,12 @@ void ScBroadcastAreaSlotMachine::BulkBroadcastGroupAreas() assert(pSpans); aHint.setSpans(pSpans); pArea->GetBroadcaster().Broadcast(aHint); + bBroadcasted = true; } maBulkGroupAreas.clear(); + if (bBroadcasted) + pDoc->TrackFormulas(); } size_t ScBroadcastAreaSlotMachine::RemoveBulkArea( const ScBroadcastArea* pArea ) -- cgit