diff options
author | Eike Rathke <erack@redhat.com> | 2016-04-06 14:38:54 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-12 14:06:29 +0000 |
commit | 62258ffd66ecc23de267512fb49369384469630b (patch) | |
tree | 4de19c500d501df609ce99e4a3dff4ccf9b0e4b3 | |
parent | 7ba918f014f177718664cbd379c6386a7a258c59 (diff) |
(re)broadcast, same as in ScDocument::SetString(), tdf#97897 related
As with ce28d83912d14bc81c455af64893842de78a8c8d
Change-Id: I7cd30509138368d73b43c82d71d520d55417d416
(cherry picked from commit b6ba851c02570c17e0484c94065a2e72c5675e58)
Reviewed-on: https://gerrit.libreoffice.org/23870
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/core/data/document.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 78b354a33b6f..69909e4b5d4c 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3377,6 +3377,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 { |