diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 12:55:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 07:56:50 +0100 |
commit | 327a3ac9b320552ee778b5fb5d1f0d5966d8ea7b (patch) | |
tree | 776b763a077af962561910f751368c53cb671d83 /cui | |
parent | 28e1f3c77fe19091cddf527f7758386dddcdad34 (diff) |
fix bug in IconChoiceDialog::dispose
after
commit 12bb4bc980863d4338725cf5a5dcaf3acbfddc09
convert HyperLinkPageType to scoped enum
Change-Id: Icb1afcdea38f231bf9b7119eb4c1bedbf7494962
Reviewed-on: https://gerrit.libreoffice.org/46707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-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; |