diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-17 09:12:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-17 08:59:30 +0100 |
commit | 20ff62d319d9a8195a59d5b27ccc52d9000992c0 (patch) | |
tree | f32c6393778d7718e1cdda7f2281f8dfbf4dd591 /vcl/source/window/menu.cxx | |
parent | 8eb2d2972583b909a249f5b0f22a9b1fbf533d24 (diff) |
loplugin:expandablemethods
Change-Id: Ifc269d9996928085a3ab78033788465b4f029368
Reviewed-on: https://gerrit.libreoffice.org/85255
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r-- | vcl/source/window/menu.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 1d25c089e976..38ac1bf7f1fa 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -216,7 +216,7 @@ void Menu::dispose() mpLayoutData.reset(); // Native-support: destroy SalMenu - ImplClearSalMenu(); + mpSalMenu.reset(); pStartedFrom.clear(); pWindow.clear(); @@ -2298,11 +2298,6 @@ OUString Menu::GetAccessibleName( sal_uInt16 nItemId ) const return OUString(); } -void Menu::ImplClearSalMenu() -{ - mpSalMenu.reset(); -} - void Menu::GetSystemMenuData( SystemMenuData* pData ) const { Menu* pMenu = const_cast<Menu*>(this); |