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:20:10 -0500 |
commit | db91bac2f5273e247eba792ca78d696bdf64b29a (patch) | |
tree | 40767c868b5c146babc21e4f3bc46fac597fb6f3 | |
parent | 62fa469c23624887f6fc3a50e7f5682ed880962f (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 ) |