Kaydet (Commit) 1fa8f1e7 authored tarafından Eike Rathke's avatar Eike Rathke Kaydeden (comit) Andras Timar

Resolves: tdf#91411 end listening only on selected sheets

... not in cell areas of all sheets.

Change-Id: I8d19c15c6d8d89652ac5695214bc4dd930783087
(cherry picked from commit 80ec99db)
üst d1c88e82
......@@ -1795,12 +1795,15 @@ void ScDocument::DeleteArea(
// the area borders.
sc::EndListeningContext aCxt(*this);
ScRange aRange(nCol1, nRow1, 0, nCol2, nRow2, 0);
for (size_t i = 0; i < maTabs.size(); ++i)
for (SCTAB i = 0; i < static_cast<SCTAB>(maTabs.size()); i++)
{
aRange.aStart.SetTab(i);
aRange.aEnd.SetTab(i);
if (rMark.GetTableSelect(i))
{
aRange.aStart.SetTab(i);
aRange.aEnd.SetTab(i);
EndListeningIntersectedGroups(aCxt, aRange, &aGroupPos);
EndListeningIntersectedGroups(aCxt, aRange, &aGroupPos);
}
}
aCxt.purgeEmptyBroadcasters();
}
......
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