diff options
Diffstat (limited to 'sfx2/source/menu/mnumgr.cxx')
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index 454b2ee17d05..fc42a3e71e68 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -105,19 +105,6 @@ void TryToHideDisabledEntries_Impl( Menu* pMenu ) } } -//------------------------------------------------------------------------- - -SfxMenuManager::SfxMenuManager( const ResId& rResId, SfxBindings &rBindings ) -: pMenu(0), - pOldMenu(0), - pBindings(&rBindings), - pResMgr(rResId.GetResMgr()), - nType( rResId.GetId() ) -{ - bAddClipboardFuncs = sal_False; - DBG_MEMTEST(); -} - //-------------------------------------------------------------------- SfxMenuManager::~SfxMenuManager() @@ -328,24 +315,6 @@ IMPL_LINK_INLINE_START( SfxPopupMenuManager, SelectHdl, void *, EMPTYARG ) } IMPL_LINK_INLINE_END( SfxPopupMenuManager, SelectHdl, void *, EMPTYARG ) - -//-------------------------------------------------------------------- - -sal_uInt16 SfxPopupMenuManager::Execute( const Point& rPoint, Window* pWindow, va_list pArgs, const SfxPoolItem *pArg1 ) -{ - DBG_MEMTEST(); - - PopupMenu* pPopMenu = ( (PopupMenu*)GetMenu()->GetSVMenu() ); - pPopMenu->SetSelectHdl( LINK( this, SfxPopupMenuManager, SelectHdl ) ); - sal_uInt16 nId = pPopMenu->Execute( pWindow, rPoint ); - pPopMenu->SetSelectHdl( Link() ); - - if ( nId ) - GetBindings().GetDispatcher()->_Execute( nId, SFX_CALLMODE_RECORD, pArgs, pArg1 ); - - return nId; -} - //------------------------------------------------------------------------- SfxMenuManager::SfxMenuManager( Menu* pMenuArg, SfxBindings &rBindings ) |