[Libreoffice-commits] .: basctl/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Aug 4 01:37:34 PDT 2011
basctl/source/basicide/basides1.cxx | 36 ------------------------------------
basctl/source/inc/basidesh.hxx | 1 -
2 files changed, 37 deletions(-)
New commits:
commit 31934021fc8b9904ceca6c4c050c266cdadc68c0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Aug 3 22:25:28 2011 +0100
callcatcher: remove unused methods
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 7b5a4d3..a82a8bb 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 6f032e0..b7efbac 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
More information about the Libreoffice-commits
mailing list