From cc780dbe1d769bce3e03018cd0a7d7810eee3e37 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 27 Nov 2013 22:16:53 -0500 Subject: Not a good idea. This makes group calculation 5 times slower. Change-Id: I954606a9d6d9b0fc66f2f3496e204c8e6496db88 --- sc/source/core/data/column2.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sc') diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index a39016abf8b2..8759c513210c 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 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 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 ) -- cgit