summaryrefslogtreecommitdiff
path: root/svx/source/form/fmshimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmshimp.cxx')
-rw-r--r--svx/source/form/fmshimp.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 3ffa410e8fc6..1b4c497ec65e 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -808,12 +808,7 @@ void FmXFormShell::invalidateFeatures( const ::std::vector< sal_Int32 >& _rFeatu
if ( m_pShell->GetViewShell() && m_pShell->GetViewShell()->GetViewFrame() )
{
// unfortunately, SFX requires sal_uInt16
- ::std::vector< sal_uInt16 > aSlotIds;
- aSlotIds.reserve( _rFeatures.size() );
- ::std::copy( _rFeatures.begin(),
- _rFeatures.end(),
- ::std::insert_iterator< ::std::vector< sal_uInt16 > >( aSlotIds, aSlotIds.begin() )
- );
+ ::std::vector< sal_uInt16 > aSlotIds( _rFeatures.begin(), _rFeatures.end() );
// furthermore, SFX wants a terminating 0
aSlotIds.push_back( 0 );