[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Wed Apr 6 17:51:53 UTC 2016


 sc/source/core/data/document.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit b6ba851c02570c17e0484c94065a2e72c5675e58
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Apr 6 14:38:54 2016 +0100

    (re)broadcast, same as in ScDocument::SetString(), tdf#97897 related
    
    As with ce28d83912d14bc81c455af64893842de78a8c8d
    
    Change-Id: I7cd30509138368d73b43c82d71d520d55417d416

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 936e476..67a882a 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
     {


More information about the Libreoffice-commits mailing list