Kaydet (Commit) 327a3ac9 authored tarafından Noel Grandin's avatar Noel Grandin

fix bug in IconChoiceDialog::dispose

after
    commit 12bb4bc9
    convert HyperLinkPageType to scoped enum

Change-Id: Icb1afcdea38f231bf9b7119eb4c1bedbf7494962
Reviewed-on: https://gerrit.libreoffice.org/46707Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 28e1f3c7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment