diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:40:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:07 +0100 |
commit | 005f5d443e432130b902e1c78283c5f57f34d2b5 (patch) | |
tree | 6eb3f4607ffd07d06f197de6760201af07d9589c /sfx2/source/menu | |
parent | 01f5362e7982cc1e5b8c9fa7216c892667971737 (diff) |
remove freshly unused methods
Diffstat (limited to 'sfx2/source/menu')
-rw-r--r-- | sfx2/source/menu/mnuitem.cxx | 16 | ||||
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 8 |
2 files changed, 0 insertions, 24 deletions
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index 560f51af4a5c..20547592b1b5 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -469,17 +469,6 @@ SfxUnoMenuControl* SfxMenuControl::CreateControl( const String& rCmd, return new SfxUnoMenuControl( rCmd, nId, rMenu, sItemText, rBindings, pVirt); } -SfxUnoMenuControl::SfxUnoMenuControl( const String& rCmd, sal_uInt16 nSlotId, - Menu& rMenu, SfxBindings& rBindings, SfxVirtualMenu* pVirt ) - : SfxMenuControl( nSlotId, rBindings ) -{ - Bind( pVirt, nSlotId, rMenu.GetItemText(nSlotId), rBindings); - UnBind(); - pUnoCtrl = new SfxUnoControllerItem( this, rBindings, rCmd ); - pUnoCtrl->acquire(); - pUnoCtrl->GetNewDispatch(); -} - SfxUnoMenuControl::SfxUnoMenuControl( const String& rCmd, sal_uInt16 nSlotId, Menu& /*rMenu*/, const String& rItemText, @@ -499,9 +488,4 @@ SfxUnoMenuControl::~SfxUnoMenuControl() pUnoCtrl->release(); } -void SfxUnoMenuControl::Select() -{ - pUnoCtrl->Execute(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index fc42a3e71e68..3bc9252d14da 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -307,14 +307,6 @@ sal_uInt16 SfxPopupMenuManager::Execute( const Point& rPos, Window* pWindow ) return nVal; } -//-------------------------------------------------------------------- - -IMPL_LINK_INLINE_START( SfxPopupMenuManager, SelectHdl, void *, EMPTYARG ) -{ - return 1; -} -IMPL_LINK_INLINE_END( SfxPopupMenuManager, SelectHdl, void *, EMPTYARG ) - //------------------------------------------------------------------------- SfxMenuManager::SfxMenuManager( Menu* pMenuArg, SfxBindings &rBindings ) |