diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 14:02:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 16:34:53 +0000 |
commit | 4904180247c0d5745a393e3cd57eaae29f3837e5 (patch) | |
tree | dcdc86ab3f80de6bed1a8d57fe3786084be625f3 /framework/inc | |
parent | 0c3505f01a792449b0c6bf81f518e7a062eea146 (diff) |
fix leak from framework::AddonMenuManager::BuildMenu
provide a callback when a menu item gets deleted
Change-Id: I5b5f1a181fb10f53f6b1fe7b5637d385e1517530
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/uielement/newmenucontroller.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx index ad802fa0ff2a..a86d5ad97e9f 100644 --- a/framework/inc/uielement/newmenucontroller.hxx +++ b/framework/inc/uielement/newmenucontroller.hxx @@ -81,9 +81,6 @@ namespace framework private: virtual void impl_setPopupMenu() SAL_OVERRIDE; - typedef MenuConfiguration::Attributes AddInfo; - - typedef std::unordered_map< int, std::unique_ptr<AddInfo> > AddInfoForId; void fillPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu ); void retrieveShortcutsFromConfiguration( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XAcceleratorConfiguration >& rAccelCfg, @@ -99,7 +96,6 @@ namespace framework m_bNewMenu : 1, m_bModuleIdentified : 1, m_bAcceleratorCfg : 1; - AddInfoForId m_aAddInfoForItem; OUString m_aTargetFrame; OUString m_aModuleIdentifier; OUString m_aEmptyDocURL; |