callcatcher: remove unused methods

This commit is contained in:
Caolán McNamara 2011-08-03 22:25:28 +01:00
parent 2d775f593a
commit 370ce31850
2 changed files with 0 additions and 37 deletions

View file

@ -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: */

View file

@ -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