1 files changed, 10 insertions, 10 deletions
mesupport
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hltpbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/hltpbase.cxx')
-rw-r--r--cui/source/dialogs/hltpbase.cxx6
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 ) );
}
}
}