summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-04-06 14:38:54 +0100
committerEike Rathke <erack@redhat.com>2016-04-06 18:51:27 +0100
commitb6ba851c02570c17e0484c94065a2e72c5675e58 (patch)
treeb2a2926b08af21bbc39893813fe3f80900ff75ed
parent6a37ea928d2c0ef9dd7fd7031b3e4e6341a162e2 (diff)
(re)broadcast, same as in ScDocument::SetString(), tdf#97897 related
As with ce28d83912d14bc81c455af64893842de78a8c8d Change-Id: I7cd30509138368d73b43c82d71d520d55417d416
-rw-r--r--sc/source/core/data/document.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 936e4760dfa5..67a882ab824a 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -3379,6 +3379,11 @@ void ScDocument::SetValue( const ScAddress& rPos, double fVal )
SetNeedsListeningGroups(aGroupPos);
StartNeededListeners();
+
+ // Listeners may just have been setup that are affected by the current
+ // position thus were not notified by a ScColumn::BroadcastNewCell()
+ // during ScTable::SetValue(), so do it here.
+ Broadcast( ScHint( SC_HINT_DATACHANGED, rPos));
}
else
{