diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-31 21:29:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-31 21:32:39 +0100 |
commit | e02e103e3e90d1c6fa32605fdfdc4ac8cd27e6b8 (patch) | |
tree | 5f83f78b264680683b953f238b16a1adf5eff822 /sfx2 | |
parent | df0baf4b00a84669997c2105b63d96f0865bfb3b (diff) |
Resolves: tdf#101221 VclPtr: funkiness with PopupMenu dtor before dispose
Change-Id: I6f8d980cc14b7f8c7b7ed5ee66a54dfce9d6e09a
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 80afec51f32d..34c181ff2597 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -927,6 +927,7 @@ void SidebarController::ShowPopupMenu ( Rectangle aBox (rButtonBox); aBox.Move(mpTabBar->GetPosPixel().X(), 0); pMenu->Execute(mpParentWindow, aBox, PopupMenuFlags::ExecuteDown); + pMenu.disposeAndClear(); } VclPtr<PopupMenu> SidebarController::CreatePopupMenu ( |