summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/tblsel.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-09-09 17:28:19 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-09 18:55:50 +0200
commit86aebe9e5b084a737ce18e4620e8d8f0998eb5a1 (patch)
treec094b78f26f1bec0850e4966ca817d0bd5e0cefa /sw/source/core/frmedt/tblsel.cxx
parentb70669e4cf98744437365d6c83d2f71c35b27696 (diff)
sw: replace boost::ptr_vector with std::vector
Change-Id: I6bef6fc863034b162459a46d332fa66a06916e7f
Diffstat (limited to 'sw/source/core/frmedt/tblsel.cxx')
-rw-r--r--sw/source/core/frmedt/tblsel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx
index 26a5d1613431..26ef88ff2753 100644
--- a/sw/source/core/frmedt/tblsel.cxx
+++ b/sw/source/core/frmedt/tblsel.cxx
@@ -1921,8 +1921,7 @@ void MakeSelUnions( SwSelUnions& rUnions, const SwLayoutFrm *pStart,
if( (aUnion.*fnRect->fnGetWidth)() )
{
- SwSelUnion *pTmp = new SwSelUnion( aUnion, const_cast<SwTabFrm*>(pTable) );
- rUnions.push_back( pTmp );
+ rUnions.push_back(SwSelUnion(aUnion, const_cast<SwTabFrm*>(pTable)));
}
pTable = pTable->GetFollow();