diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-03 22:25:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-03 22:25:28 +0100 |
commit | 31934021fc8b9904ceca6c4c050c266cdadc68c0 (patch) | |
tree | cc360f0d045b1acfdb336d0d131a3bf7193a923d /basctl/source | |
parent | c2a40ea477c9f6cb1b3c13f5c159d0ffb57605aa (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 36 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 1 |
2 files changed, 0 insertions, 37 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 7b5a4d3b0..a82a8bbb5 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -1396,40 +1396,4 @@ void BasicIDEShell::Deactivate( sal_Bool bMDI ) } } - -IMPL_LINK( BasicIDEShell, AccelSelectHdl, Accelerator*, pAccel ) -{ - sal_Bool bDone = sal_True; - SfxViewFrame* pViewFrame = GetViewFrame(); - SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL; - if( !pDispatcher ) - return sal_False; - switch ( pAccel->GetCurKeyCode().GetCode() ) - { - case KEY_F5: - if ( pAccel->GetCurKeyCode().IsShift() ) - pDispatcher->Execute( SID_BASICSTOP, SFX_CALLMODE_SYNCHRON ); - else - pDispatcher->Execute( SID_BASICRUN, SFX_CALLMODE_SYNCHRON ); - break; - case KEY_F7: - pDispatcher->Execute( SID_BASICIDE_ADDWATCH, SFX_CALLMODE_SYNCHRON ); - break; - case KEY_F8: - if ( pAccel->GetCurKeyCode().IsShift() ) - pDispatcher->Execute( SID_BASICSTEPOVER, SFX_CALLMODE_SYNCHRON ); - else - pDispatcher->Execute( SID_BASICSTEPINTO, SFX_CALLMODE_SYNCHRON ); - break; - case KEY_F9: - if ( pAccel->GetCurKeyCode().IsShift() ) - pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNTENABLED, SFX_CALLMODE_SYNCHRON ); - else - pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNT, SFX_CALLMODE_SYNCHRON ); - break; - default: bDone = sal_False; - } - return bDone; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index 6f032e0c4..b7efbac1e 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -122,7 +122,6 @@ friend class ContainerListenerImpl; void ImplStartListening( StarBASIC* pBasic ); DECL_LINK( TabBarHdl, TabBar* ); - DECL_LINK( AccelSelectHdl, Accelerator* ); DECL_LINK( ObjectDialogCancelHdl, ObjectCatalog * ); DECL_LINK( TabBarSplitHdl, TabBar * ); #endif |