diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-12 15:16:05 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 20:33:46 +0100 |
commit | ce8cfbd3b90f11c3f2edc88a0dab625aabb6293d (patch) | |
tree | 7128c82bf9c71332342de974fd1f0ab32ee0bc72 /svtools/source/contnr/ivctrl.cxx | |
parent | 1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca (diff) |
svtools: apply vcl::window refcounting changes
Change-Id: I308f045eaf5c50de26175a2f00f8b0791cdd8ab9
Conflicts:
svtools/source/control/tabbar.cxx
Diffstat (limited to 'svtools/source/contnr/ivctrl.cxx')
-rw-r--r-- | svtools/source/contnr/ivctrl.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index ce1c05c49f64..1baa80cdd890 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -88,8 +88,14 @@ SvtIconChoiceCtrl::SvtIconChoiceCtrl( vcl::Window* pParent, WinBits nWinStyle ) SvtIconChoiceCtrl::~SvtIconChoiceCtrl() { + dispose(); +} + +void SvtIconChoiceCtrl::dispose() +{ _pImp->CallEventListeners( VCLEVENT_OBJECT_DYING ); delete _pImp; + Control::dispose(); } SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::InsertEntry( const OUString& rText, const Image& rImage, sal_uLong nPos, const Point* pPos, sal_uInt16 nFlags ) |