diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-01-16 19:47:20 +0100 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-01-17 20:24:17 +0000 |
commit | e87071ac57a7711078715d9165c264ec3db180ab (patch) | |
tree | 6a2c5a62f7fb3f162d1f9e7caf44e6846468532a /tools | |
parent | d0f3363aa8db533ba6fe356053caaf79a1507d14 (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 'tools')
-rw-r--r-- | tools/inc/pch/precompiled_tl.hxx | 1 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/inc/pch/precompiled_tl.hxx b/tools/inc/pch/precompiled_tl.hxx index 6c7371894295..c906f41f3e52 100644 --- a/tools/inc/pch/precompiled_tl.hxx +++ b/tools/inc/pch/precompiled_tl.hxx @@ -33,7 +33,6 @@ #include <stdlib.h> #include <string.h> #include <vector> -#include <boost/checked_delete.hpp> #include <boost/optional/optional.hpp> #include <boost/rational.hpp> #include <osl/diagnose.h> diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index b84142806b54..55caad880d55 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <boost/checked_delete.hpp> #include <tools/urlobj.hxx> #include <tools/debug.hxx> #include <tools/inetmime.hxx> @@ -564,7 +563,7 @@ namespace { std::unique_ptr<SvMemoryStream> memoryStream( void const * data, sal_Int32 length) { - std::unique_ptr<char, boost::checked_array_deleter<char> > b( + std::unique_ptr<char[]> b( new char[length]); memcpy(b.get(), data, length); std::unique_ptr<SvMemoryStream> s( |