summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:30:23 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:33:15 +0900
commit4a9347fa320d892b60fd03082925f63a1d69cfb9 (patch)
treed4cd8ab03b5cd5b70e5637acbc471c7953a8165a /svl/source
parent9aee4d1c9e5a0289f0d3d7b4a13046eab60e316e (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/items/stylepool.cxx4
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 ) );