[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Tue Jan 28 05:59:18 PST 2014
sc/source/ui/undo/undobase.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 801eabf43635fd125038b2de40a1bafe16c70bd9
Author: Eike Rathke <erack at redhat.com>
Date: Tue Jan 28 14:56:21 2014 +0100
added ScBulkBroadcast to ScSimpleUndo::BroadcastChanges()
... to prevent repeated broadcasts to identical range listeners.
Change-Id: Iccbcb27fe03a957c9e448683e6bdc85538c25c3a
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 178ec57..2f43987 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -29,6 +29,7 @@
#include "attrib.hxx"
#include "queryparam.hxx"
#include "subtotalparam.hxx"
+#include "bcaslot.hxx"
#include "globstr.hrc"
// STATIC DATA -----------------------------------------------------------
@@ -147,6 +148,8 @@ void ScSimpleUndo::BroadcastChanges( const ScRange& rRange )
ScDocument* pDoc = pDocShell->GetDocument();
pDoc->CellContentModified();
+ ScBulkBroadcast aBulkBroadcast( pDoc->GetBASM());
+
ScHint aHint(SC_HINT_DATACHANGED, ScAddress());
ScAddress& rPos = aHint.GetAddress();
for (SCTAB nTab = rRange.aStart.Tab(); nTab <= rRange.aEnd.Tab(); ++nTab)
More information about the Libreoffice-commits
mailing list