From 9703cc63cea3c47d13afe5f9b0eb22c631000958 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 24 Sep 2014 14:54:51 +0200 Subject: Remove o3tl/heap_ptr.hxx, use std::unique_ptr instead Change-Id: Iac70c9be13892a36bfb5975f62e5345b88d4f144 --- tools/inc/pch/precompiled_tl.hxx | 1 - tools/source/fsys/urlobj.cxx | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/inc/pch/precompiled_tl.hxx b/tools/inc/pch/precompiled_tl.hxx index 2101b0c35527..c74b9b81b6fc 100644 --- a/tools/inc/pch/precompiled_tl.hxx +++ b/tools/inc/pch/precompiled_tl.hxx @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 91fffad7bc71..7e248a297643 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -20,7 +20,6 @@ #include #include -#include #include #include #include @@ -39,6 +38,7 @@ #include #include +#include #include @@ -586,10 +586,10 @@ void INetURLObject::setInvalid() namespace { SvMemoryStream * memoryStream(void const * data, sal_Int32 length) { - o3tl::heap_ptr > b( + std::unique_ptr > b( new char[length]); memcpy(b.get(), data, length); - o3tl::heap_ptr s( + std::unique_ptr s( new SvMemoryStream(b.get(), length, STREAM_READ)); s->ObjectOwnsMemory(true); b.release(); -- cgit