diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-25 16:30:23 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-25 16:33:15 +0900 |
commit | 4a9347fa320d892b60fd03082925f63a1d69cfb9 (patch) | |
tree | d4cd8ab03b5cd5b70e5637acbc471c7953a8165a /svl | |
parent | harmonize Tell() Seek() type. (diff) | |
download | core-4a9347fa320d892b60fd03082925f63a1d69cfb9.tar.gz core-4a9347fa320d892b60fd03082925f63a1d69cfb9.zip |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/stylepool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <svl/stylepool.hxx> #include <svl/itemiter.hxx> #include <svl/itempool.hxx> - +#include <boost/scoped_ptr.hpp> 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<SfxItemSet> pFoundIgnorableItems; + boost::scoped_ptr<SfxItemSet> pFoundIgnorableItems; if ( mpIgnorableItems ) { pFoundIgnorableItems.reset( new SfxItemSet( *mpIgnorableItems ) ); |