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:16:53 -0500 |
commit | fe683c95a2bacd3623c161c87e2d086e54e849bc (patch) | |
tree | 79d5529fa5c6e02b290bebc838ce436de4d8b1ee /sc/source/core/data/column2.cxx | |
parent | 51c27b66023fccc39a249b6f4baeb30a9e1e487a (diff) |
Not a good idea. This makes group calculation 5 times slower.
Change-Id: I954606a9d6d9b0fc66f2f3496e204c8e6496db88
Diffstat (limited to 'sc/source/core/data/column2.cxx')
-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 ) |