diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-28 18:47:37 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-28 18:55:45 +0200 |
commit | 7a8040665f40fbcb4fa58c036aa066f061abd9ba (patch) | |
tree | e40993d57d1f5e7b1e83fa0889ea2b4f6346f123 /sc | |
parent | fix indentation (diff) | |
download | core-7a8040665f40fbcb4fa58c036aa066f061abd9ba.tar.gz core-7a8040665f40fbcb4fa58c036aa066f061abd9ba.zip |
prevent double delete of broadcaster, fdo#54074, fdo#53364
Change-Id: I7d94525daaeb7c8268fb10594c8a21ebcd52311c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column3.cxx | 3 |
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; |