summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-19 18:24:59 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-19 18:29:00 +0200
commit3fa50ac35b6a56ae9628b0310cbf0eb7b4634736 (patch)
treebf4ca3c0f7663f7ea5d59783e04ca64b84c1fa18
parent730ba5d73280c64ccf5542f879be0c370b4be54e (diff)
use correct cell for broadcasting, fdo#55059
Change-Id: I353df8e9d3ccabee32b82d04cdae402e3a83ed23
-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)
{