Kaydet (Commit) 801eabf4 authored tarafından Eike Rathke's avatar Eike Rathke

added ScBulkBroadcast to ScSimpleUndo::BroadcastChanges()

... to prevent repeated broadcasts to identical range listeners.

Change-Id: Iccbcb27fe03a957c9e448683e6bdc85538c25c3a
üst 3dda94c2
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment