diff options
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index acf04885b488..1b1009389595 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -224,16 +224,6 @@ void IconChoiceDialog::dispose() } maPageList.clear(); - if (m_pIconCtrl) - { - // remove Userdata from Icons - for ( sal_Int32 i=0; i < m_pIconCtrl->GetEntryCount(); i++) - { - SvxIconChoiceCtrlEntry* pEntry = m_pIconCtrl->GetEntry( i ); - delete static_cast<sal_uInt16*>(pEntry->GetUserData()); - } - } - delete pRanges; pRanges = nullptr; delete pOutSet; |