summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/column3.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 861158c6bb4f..00ac9fa065b8 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -400,7 +400,10 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDe
bool bKeepBC = pBC && pBC->HasListeners();
// #i99844# do not release broadcaster from old cell, it still has to notify deleted content
if (bKeepBC)
+ {
pNoteCell = new ScNoteCell( pBC );
+ pOldCell->ReleaseBroadcaster();
+ }
// remove cell entry in cell item list
SCROW nOldRow = maItems[nIdx].nRow;