Kaydet (Commit) 129eddc1 authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#103689 do not slice 3D area broadcasters into separate sheets

Change-Id: Ie167e5e5e953c3e8064b8e128d52f6aa6740575b
üst 989cf68b
......@@ -736,6 +736,11 @@ void ScBroadcastAreaSlotMachine::StartListeningArea(
}
else
{
// A new area needs to be inserted to the corresponding slots, for 3D
// ranges for all sheets, do not slice into per sheet areas or the
// !bDone will break too early (i.e. after the first sheet) if
// subsequent listeners are to be added.
ScBroadcastArea* pArea = nullptr;
bool bDone = false;
for (SCTAB nTab = rRange.aStart.Tab();
!bDone && nTab <= rRange.aEnd.Tab(); ++nTab)
......@@ -750,7 +755,6 @@ void ScBroadcastAreaSlotMachine::StartListeningArea(
SCSIZE nOff = nStart;
SCSIZE nBreak = nOff + nRowBreak;
ScBroadcastAreaSlot** pp = ppSlots + nOff;
ScBroadcastArea* pArea = nullptr;
while ( !bDone && nOff <= nEnd )
{
if ( !*pp )
......
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