diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 21:36:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:05 +0100 |
commit | 798496c5be43771ee478a0ee4288188b28583a8d (patch) | |
tree | f89574ce2038ee052af3188747b7738ba680a301 /sfx2/source/menu/mnumgr.cxx | |
parent | 50db59bbac75a9b1cf1bd95c07f6cafc597245f8 (diff) |
regenerate list
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 ) |