[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 19 09:29:23 PDT 2012
sc/source/core/data/column3.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 3fa50ac35b6a56ae9628b0310cbf0eb7b4634736
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Sep 19 18:24:59 2012 +0200
use correct cell for broadcasting, fdo#55059
Change-Id: I353df8e9d3ccabee32b82d04cdae402e3a83ed23
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 00ac9fa..c853c16 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)
{
More information about the Libreoffice-commits
mailing list