[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Wed Nov 27 19:16:20 PST 2013


 sc/source/core/data/column2.cxx |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit cc780dbe1d769bce3e03018cd0a7d7810eee3e37
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Nov 27 22:16:53 2013 -0500

    Not a good idea. This makes group calculation 5 times slower.
    
    Change-Id: I954606a9d6d9b0fc66f2f3496e204c8e6496db88

diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index a39016a..8759c51 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -2862,13 +2862,6 @@ void ScColumn::SetFormulaResults( SCROW nRow, const double* pResults, size_t nLe
         rCell.ResetDirty();
         rCell.SetChanged(true);
     }
-
-    std::vector<SCROW> aRows;
-    aRows.reserve(nLen);
-    for (size_t i = 0; i < nLen; ++i)
-        aRows.push_back(nRow+i);
-
-    BroadcastCells(aRows, SC_HINT_DATACHANGED);
 }
 
 void ScColumn::SetFormulaResults( SCROW nRow, const formula::FormulaTokenRef* pResults, size_t nLen )
@@ -2895,13 +2888,6 @@ void ScColumn::SetFormulaResults( SCROW nRow, const formula::FormulaTokenRef* pR
         rCell.ResetDirty();
         rCell.SetChanged(true);
     }
-
-    std::vector<SCROW> aRows;
-    aRows.reserve(nLen);
-    for (size_t i = 0; i < nLen; ++i)
-        aRows.push_back(nRow+i);
-
-    BroadcastCells(aRows, SC_HINT_DATACHANGED);
 }
 
 void ScColumn::SetNumberFormat( SCROW nRow, sal_uInt32 nNumberFormat )


More information about the Libreoffice-commits mailing list