summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-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 00ac9fa065b8..c853c16ee78c 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -425,7 +425,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)
{