summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-01-16 19:47:20 +0100
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2017-01-17 20:24:17 +0000
commite87071ac57a7711078715d9165c264ec3db180ab (patch)
tree6a2c5a62f7fb3f162d1f9e7caf44e6846468532a /starmath
parentd0f3363aa8db533ba6fe356053caaf79a1507d14 (diff)
replace boost::checked_deleter with std::default_delete
and remove all traces of boost/checked_delete.hpp Change-Id: I4486d0e07a7197d75f8739c8c6d79670163eaab2 Reviewed-on: https://gerrit.libreoffice.org/33182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/pch/precompiled_sm.hxx1
-rw-r--r--starmath/source/node.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx
index d63c2f0ad3d5..785e752bb27f 100644
--- a/starmath/inc/pch/precompiled_sm.hxx
+++ b/starmath/inc/pch/precompiled_sm.hxx
@@ -38,7 +38,6 @@
#include <string.h>
#include <unordered_map>
#include <vector>
-#include <boost/checked_delete.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/optional/optional.hpp>
#include <osl/diagnose.h>
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index e941c2d49e30..a30dc3e38da0 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -39,7 +39,6 @@
#include <memory>
#include <float.h>
#include <vector>
-#include <boost/checked_delete.hpp>
namespace {
@@ -374,7 +373,7 @@ const SmNode * SmNode::FindNodeWithAccessibleIndex(sal_Int32 nAccIdx) const
SmStructureNode::~SmStructureNode()
{
- ForEachNonNull(this, boost::checked_deleter<SmNode>());
+ ForEachNonNull(this, std::default_delete<SmNode>());
}