summaryrefslogtreecommitdiff
path: root/sc/source/core/data/columnspanset.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-12 10:50:16 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-12 13:47:31 -0400
commite2f94a8e2cf1761f5e2b0ae166f6a8bd73e0a15d (patch)
tree02c3bfc9f5bdc351dd92b9817d2acae9be375a93 /sc/source/core/data/columnspanset.cxx
parent5b0b7553241bb5150b12bbf7625b4b0b36970272 (diff)
Move this function object to o3tl.
Change-Id: I9d1710fbed3c5753e84ed343c5136ab87909624d
Diffstat (limited to 'sc/source/core/data/columnspanset.cxx')
-rw-r--r--sc/source/core/data/columnspanset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/columnspanset.cxx b/sc/source/core/data/columnspanset.cxx
index b06f9f7ed2c1..8cef96692b81 100644
--- a/sc/source/core/data/columnspanset.cxx
+++ b/sc/source/core/data/columnspanset.cxx
@@ -8,7 +8,6 @@
*/
#include "columnspanset.hxx"
-#include "stlalgorithm.hxx"
#include "column.hxx"
#include "table.hxx"
#include "document.hxx"
@@ -16,6 +15,7 @@
#include "markdata.hxx"
#include "rangelst.hxx"
#include <fstalgorithm.hxx>
+#include <o3tl/deleter.hxx>
#include <algorithm>
@@ -67,7 +67,7 @@ ColumnSpanSet::~ColumnSpanSet()
if (!pTab)
continue;
- std::for_each(pTab->begin(), pTab->end(), ScDeleteObjectByPtr<ColumnType>());
+ std::for_each(pTab->begin(), pTab->end(), o3tl::default_deleter<ColumnType>());
delete pTab;
}
}