diff options
author | Eike Rathke <erack@redhat.com> | 2016-04-06 14:38:54 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-07 06:43:47 +0000 |
commit | 24635317f09ecf48e5d800147b6a2b95963b69a7 (patch) | |
tree | fe5314205def0ec0d18dffa01550e2e2eed78d70 | |
parent | f2e5cdbc7014f106c8dd75c5c47d40f0151438f0 (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/23871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-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 074f5b799c0f..0a3141985919 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3376,6 +3376,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 { |