diff options
Diffstat (limited to 'cui/source/dialogs/hltpbase.cxx')
-rw-r--r-- | cui/source/dialogs/hltpbase.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index 773b82136349..2ede80c294dc 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -58,11 +58,7 @@ SvxFramesComboBox::SvxFramesComboBox ( Window* pParent, const ResId& rResId, size_t i; for ( i = 0; i < nCount; i++ ) { - InsertEntry( *pList->at( i ) ); - } - for ( i = nCount; i; ) - { - delete pList->at( --i ); + InsertEntry( pList->at( i ) ); } } } |