diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-16 10:12:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-16 10:12:40 +0200 |
commit | 3e710c27f7cda7d24206aa01ad7d28df4b08f69d (patch) | |
tree | b8ca5920afd3b44b1a9f980883ff79b98b6527ad /forms/source | |
parent | 5040e5038cc240b746db7badbc237d5bcd9cf690 (diff) |
fix live children left behind at destroy
Change-Id: I5c02f27e72635b5cb658a620ead63ff3229c3994
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/solar/control/navtoolbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx index 07429f0640d3..88b854bf9155 100644 --- a/forms/source/solar/control/navtoolbar.cxx +++ b/forms/source/solar/control/navtoolbar.cxx @@ -155,7 +155,7 @@ namespace frm for (auto i = m_aChildWins.begin(); i != m_aChildWins.end(); ++i) i->disposeAndClear(); m_aChildWins.clear(); - m_pToolbar.clear(); + m_pToolbar.disposeAndClear(); vcl::Window::dispose(); } |