[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Eike Rathke erack at redhat.com
Tue Apr 12 14:06:48 UTC 2016


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

New commits:
commit 62258ffd66ecc23de267512fb49369384469630b
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
    (cherry picked from commit b6ba851c02570c17e0484c94065a2e72c5675e58)
    Reviewed-on: https://gerrit.libreoffice.org/23870
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 78b354a..69909e4 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
     {


More information about the Libreoffice-commits mailing list