diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-27 22:16:53 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-27 22:17:35 -0500 |
commit | cc780dbe1d769bce3e03018cd0a7d7810eee3e37 (patch) | |
tree | 3bb74895752e5c6e37192914428e506bdd349961 /sc | |
parent | 431fed3311588333b3ff9b873807865a4a205e50 (diff) |
Not a good idea. This makes group calculation 5 times slower.
Change-Id: I954606a9d6d9b0fc66f2f3496e204c8e6496db88
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column2.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
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<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 ) |