diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-08 14:44:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-09 13:47:42 +0200 |
commit | 57dfefa71070d2168df7115856f468dfc0ccaccc (patch) | |
tree | 398f61a0d70ce51d39c583d75de62a07f5c2da8b /vcl/source/window/menubarwindow.cxx | |
parent | e45aa2950c1113b17fdf5adf4c67e2522514e2ed (diff) |
drop some calls to SetParentToDefaultWindow
when the next thing called is disposeAndClear now that
all SetParentToDefaultWindow does it hide the Window
Change-Id: Ied3200eb3656594d446d65dadcb1cf27e6a7bd15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118646
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/menubarwindow.cxx')
-rw-r--r-- | vcl/source/window/menubarwindow.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx index 1f945e0a95c3..09dd1d569edf 100644 --- a/vcl/source/window/menubarwindow.cxx +++ b/vcl/source/window/menubarwindow.cxx @@ -373,7 +373,6 @@ void MenuBarWindow::KillActivePopup() } m_pActivePopup->ImplGetFloatingWindow()->StopExecute(); m_pActivePopup->ImplGetFloatingWindow()->doShutdown(); - m_pActivePopup->pWindow->SetParentToDefaultWindow(); m_pActivePopup->pWindow.disposeAndClear(); } m_pActivePopup = nullptr; |