make dtor order as reverse ctor order
Change-Id: Ia5bff2361006d3dcb1032adef584ceb9910e56fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138100 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
89f4bc3b8c
commit
701763ac59
1 changed files with 3 additions and 1 deletions
|
@ -90,12 +90,14 @@ TabBar::~TabBar()
|
|||
|
||||
void TabBar::dispose()
|
||||
{
|
||||
m_xContainer->move(mxContents.get(), mxTempToplevel.get());
|
||||
maItems.clear();
|
||||
mxMeasureBox.reset();
|
||||
mxSubMenu.reset();
|
||||
mxMainMenu.reset();
|
||||
mxMenuButton.reset();
|
||||
m_xContainer->move(mxContents.get(), mxTempToplevel.get());
|
||||
mxContents.reset();
|
||||
mxTempToplevel.reset();
|
||||
mxAuxBuilder.reset();
|
||||
InterimItemWindow::dispose();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue