diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-25 17:12:44 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-25 17:14:08 -0500 |
commit | d8266cfcd657485e1ea817376eb00c9fb2c8260f (patch) | |
tree | 988bf46f595f17c6506e2548d740bd8edf21e28b | |
parent | 96a4189c568fbf7f63bec13f7a77a114aa7a3ede (diff) |
fdo#86615: Track dependent formulas after bulk-broadcasting...
of group area listeners.
Change-Id: I3a8d2ceb57462c2c2c4cddb6e34966d2465e149b
-rw-r--r-- | sc/source/core/data/bcaslot.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 ) |