From 4a9347fa320d892b60fd03082925f63a1d69cfb9 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 25 Feb 2014 16:30:23 +0900 Subject: Replace deprecated std::auto_ptr with boost::scoped_ptr Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae --- svl/source/items/stylepool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl') diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index aa933a126a89..ae1a01ec8d5c 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -27,7 +27,7 @@ #include #include #include - +#include using namespace boost; @@ -400,7 +400,7 @@ StylePool::SfxItemSet_Pointer_t StylePoolImpl::insertItemSet( const SfxItemSet& // Every SfxPoolItem in the SfxItemSet causes a step deeper into the tree, // a complete empty SfxItemSet would stay at the root node. // #i86923# insert ignorable items to the tree leaves. - std::auto_ptr pFoundIgnorableItems; + boost::scoped_ptr pFoundIgnorableItems; if ( mpIgnorableItems ) { pFoundIgnorableItems.reset( new SfxItemSet( *mpIgnorableItems ) ); -- cgit