summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-03 22:25:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-03 22:25:28 +0100
commit370ce3185082b976a6c8de8d4aea07273907a8ff (patch)
tree4d255e67b425937dd38473e7264c40a27f78b4cb /basctl
parent2d775f593abd9bc487ccc60f06aa5a3ca9632056 (diff)
callcatcher: remove unused methods
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx36
-rw-r--r--basctl/source/inc/basidesh.hxx1
2 files changed, 0 insertions, 37 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index e3dbc568ffd6..4fecf6e79683 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 20f2f1543a4c..b7b7c114926d 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