Kaydet (Commit) 574dd6d8 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

We have function object for this.

Change-Id: I9021771a6d6be9980ca1c46a0b5034f84fa0d49f
üst 06a8ebc8
......@@ -48,6 +48,7 @@
#include "globalnames.hxx"
#include "cellvalue.hxx"
#include "tokenarray.hxx"
#include "stlalgorithm.hxx"
#include <com/sun/star/i18n/LocaleDataItem.hpp>
......@@ -2058,9 +2059,7 @@ void ScColumn::RebuildFormulaGroups()
return;
// clear double groups
for (std::vector< ColDoubleEntry *>::iterator it = maDoubles.begin();
it != maDoubles.end(); ++it )
delete *it;
std::for_each(maDoubles.begin(), maDoubles.end(), ScDeleteObjectByPtr<ColDoubleEntry>());
maDoubles.clear();
// clear previous groups
......@@ -2186,7 +2185,6 @@ void ScColumn::RebuildFormulaGroups()
}
#endif
bDirtyGroups = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment