diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-05-29 16:50:50 +0200 |
---|---|---|
committer | László Németh <laszlo.nemeth@collabora.com> | 2015-05-29 17:01:10 +0200 |
commit | bec67f339b9b000628e2b82e2b38cd1cae37f94a (patch) | |
tree | 86e586a315433facf6fce35e3d96da30600a77dc /cui/source/dialogs/cuihyperdlg.cxx | |
parent | e008e587ce556fa7567914c5953e4706089ca413 (diff) |
dispose SfxControllerItem objects correctly
Change-Id: Id5f80e06e5609b4e85f3d6db7bc37aabe6ef0dac
Diffstat (limited to 'cui/source/dialogs/cuihyperdlg.cxx')
-rw-r--r-- | cui/source/dialogs/cuihyperdlg.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index 0587f879f711..1fbe4cd9dbee 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -42,6 +42,12 @@ SvxHlinkCtrl::SvxHlinkCtrl( sal_uInt16 _nId, SfxBindings & rBindings, SvxHpLinkD pParent = pDlg; } +void SvxHlinkCtrl::dispose() +{ + aRdOnlyForwarder.dispose(); + ::SfxControllerItem::dispose(); +} + void SvxHlinkCtrl::StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) { |