From 5045400eb3ae5622d18e9a9b1b928d4ecc78bbf2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 24 Sep 2014 12:44:55 +0200 Subject: Replace use of o3tl::heap_ptr with std::unique_ptr Change-Id: Idbcb1be271ccda1885728ec5a6a75cfaec15f6f5 --- binaryurp/source/reader.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binaryurp') diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx index 92da48519f33..3accf57d28ab 100644 --- a/binaryurp/source/reader.cxx +++ b/binaryurp/source/reader.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include "boost/scoped_ptr.hpp" @@ -35,7 +36,6 @@ #include "com/sun/star/uno/XCurrentContext.hpp" #include "com/sun/star/uno/XInterface.hpp" #include "cppu/unotype.hxx" -#include "o3tl/heap_ptr.hxx" #include "rtl/byteseq.h" #include "rtl/ustring.hxx" #include "sal/types.h" @@ -328,7 +328,7 @@ void Reader::readMessage(Unmarshal & unmarshal) { } break; } - o3tl::heap_ptr< IncomingRequest > req( + std::unique_ptr< IncomingRequest > req( new IncomingRequest( bridge_, tid, oid, obj, type, functionId, synchronous, memberTd, setter, inArgs, ccMode, cc)); @@ -441,7 +441,7 @@ void Reader::readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1) { switch (req.kind) { case OutgoingRequest::KIND_NORMAL: { - o3tl::heap_ptr< IncomingReply > resp( + std::unique_ptr< IncomingReply > resp( new IncomingReply(exc, ret, outArgs)); uno_threadpool_putJob( bridge_->getThreadPool(), tid.getHandle(), resp.get(), 0, -- cgit