diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-18 13:51:37 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 12:01:25 +0100 |
commit | 739f3a5c2b5410685b22d920e8d6c4d59567dfd3 (patch) | |
tree | 7a5dd06b65bd74d537890267adae2debccfca8bf /svtools/source | |
parent | f583322c079c4bbc4be21ee3ba5d1d1b91c3d061 (diff) |
mend misc. lifecycle breakage.
Change-Id: I6e960db9659f5122a45c4cf173e680bb782acf76
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 8fd29e4eea15..2df93f16defe 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -338,15 +338,7 @@ struct TabBar_Impl svt::AccessibleFactoryAccess maAccessibleFactory; - TabBar_Impl() - : mpSizer() - , mpFirstButton() - , mpPrevButton() - , mpNextButton() - , mpLastButton() - , mpEdit() - , mpItemList() - {} + TabBar_Impl() {} ~TabBar_Impl() { @@ -367,6 +359,10 @@ struct TabBar_Impl { return static_cast<sal_uInt16>(mpItemList.size()); } + ~TabBar_Impl() + { + mpSizer.disposeAndClear(); + } }; TabBar::TabBar( vcl::Window* pParent, WinBits nWinStyle ) : |