[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Mon Oct 20 14:40:20 PDT 2014


 sc/source/core/data/table2.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit b35c51d15189835bd388411f9ab4baefacd7b460
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri Oct 17 21:48:31 2014 -0400

    fdo#80284: Avoid broadcasting during cell delete & shift.
    
    Broadcasting it here and marking formula cells dirty prevents them
    from being entered into the formula tree at the end.  They get marked
    "postponed dirty" during reference update, and are supposed to be
    set dirty at the end.
    
    Change-Id: I65977300ee4ee26b6166d170acd2145abcbbf288
    (cherry picked from commit 7fef943114b9184e69c8c714bf158116b8d9caf7)
    Reviewed-on: https://gerrit.libreoffice.org/12014
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 9abd954..9b4fd02 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -391,11 +391,8 @@ void ScTable::DeleteCol(
         }
     }
 
-    {   // scope for bulk broadcast
-        ScBulkBroadcast aBulkBroadcast( pDocument->GetBASM());
-        for (SCSIZE i = 0; i < nSize; i++)
-            aCol[nStartCol + i].DeleteArea(nStartRow, nEndRow, IDF_ALL);
-    }
+    for (SCSIZE i = 0; i < nSize; i++)
+        aCol[nStartCol + i].DeleteArea(nStartRow, nEndRow, IDF_ALL, false);
 
     if ((nStartRow == 0) && (nEndRow == MAXROW))
     {


More information about the Libreoffice-commits mailing list