summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-02 09:10:19 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-02 09:10:19 +0200
commitfd3d1bbaa9ab338f374fd20798fca71a888c9ab7 (patch)
tree3445b5e06f9dbbe2754a583469853add50de924e /sw
parent84eafb6a051863a775f122cec1bc27d9f5fef6e4 (diff)
sw: use std::unique_ptr<> in swnewtable
Change-Id: Iddc51cd927fa4e2e44c094909892102158f07389
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/table/swnewtable.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx
index 4024b09c51b0..2f7a9f8552c6 100644
--- a/sw/source/core/table/swnewtable.cxx
+++ b/sw/source/core/table/swnewtable.cxx
@@ -36,7 +36,6 @@
#include <set>
#include <list>
#include <memory>
-#include <boost/scoped_ptr.hpp>
#include <editeng/boxitem.hxx>
#include <editeng/protitem.hxx>
#include <swtblfmt.hxx>
@@ -819,7 +818,7 @@ bool SwTable::PrepareMerge( const SwPaM& rPam, SwSelBoxes& rBoxes,
}
CHECK_TABLE( *this )
// We have to assert a "rectangular" box selection before we start to merge
- boost::scoped_ptr< SwBoxSelection > pSel( CollectBoxSelection( rPam ) );
+ std::unique_ptr< SwBoxSelection > pSel( CollectBoxSelection( rPam ) );
if( !pSel.get() || pSel->isEmpty() )
return false;
// Now we should have a rectangle of boxes,