[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 19 10:20:56 PDT 2012


 sc/source/core/data/column3.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 44946ef77dd14d139fc799a25c4e2b26c772ce9f
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
    Signed-off-by: Kohei Yoshida <kohei.yoshida at gmail.com>

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 6495ca6..48d77dc 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)
                     {


More information about the Libreoffice-commits mailing list