summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/column3.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 6495ca6598e1..48d77dc6f5fc 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -427,7 +427,10 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDe
else
{
aHint.GetAddress().SetRow( nOldRow );
- aHint.SetCell( pOldCell );
+ if(bKeepBC)
+ aHint.SetCell( pNoteCell );
+ else
+ aHint.SetCell( pOldCell );
pDocument->Broadcast( aHint );
if (pNoteCell != pOldCell)
{