Kaydet (Commit) fd3d1bba authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: use std::unique_ptr<> in swnewtable

Change-Id: Iddc51cd927fa4e2e44c094909892102158f07389
üst 84eafb6a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment