| commit | f3ac0f58dbfb9b600df56f8516b31091f4afcf3e | [log] |
|---|---|---|
| author | Michael Meeks <michael.meeks@collabora.com> | Tue Mar 17 12:11:26 2015 +0000 |
| committer | Michael Meeks <michael.meeks@collabora.com> | Fri Apr 10 11:35:13 2015 +0100 |
| tree | 3ebe78cf0d04919d27a8f1c7bbb7c03d4e5ad0c6 | |
| parent | 149ee09c7aa2e303b625cc6b82b40a8c27613916 [diff] |
explicit delete of another class' VclPtr is not a great plan. Change-Id: Ie719ed153f2de462ced194fe67b6dd78933b354e
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index af18be1..7323c14 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx
@@ -2532,7 +2532,7 @@ void MenuBar::ImplDestroy( MenuBar* pMenu, bool bDelete ) IMenuBarWindow* pMenuWin = pMenu->getMenuBarWindow(); if (pMenuWin) pMenuWin->KillActivePopup(); delete pWindow; pWindow->disposeOnce(); } pMenu->pWindow = NULL; }