summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
authorChristian Dywan <christian@lanedo.com>2011-04-18 13:06:32 +0100
committerNoel Power <noel.power@novell.com>2011-04-18 13:06:32 +0100
commit8b645ff23100f48264702ad5597af09ecedcab25 (patch)
tree558da05edeff233258a542eb009b9e574e180f0e /basctl/source/basicide/baside2b.cxx
parent6eaac0fdd9e55fc874be367a4fce5392a40f6f56 (diff)
fdo#36230 Remove unused AGotoCallButton and associated RID_IMGBTN_GOTOCALL id
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 030a152f3509..7454b1b83358 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1497,7 +1497,6 @@ void WatchWindow::UpdateWatches( bool bBasicStopped )
StackWindow::StackWindow( Window* pParent ) :
BasicDockingWindow( pParent ),
aTreeListBox( this, WB_BORDER | WB_3DLOOK | WB_HSCROLL | WB_TABSTOP ),
- aGotoCallButton( this, IDEResId( RID_IMGBTN_GOTOCALL ) ),
aStackStr( IDEResId( RID_STR_STACK ) )
{
aTreeListBox.SetHelpId(HID_BASICIDE_STACKWINDOW_LIST);
@@ -1512,14 +1511,6 @@ StackWindow::StackWindow( Window* pParent ) :
SetHelpId( HID_BASICIDE_STACKWINDOW );
- aGotoCallButton.SetClickHdl( LINK( this, StackWindow, ButtonHdl ) );
- aGotoCallButton.SetPosPixel( Point( DWBORDER, 2 ) );
- Size aSz( aGotoCallButton.GetModeImage().GetSizePixel() );
- aSz.Width() += 6;
- aSz.Height() += 6;
- aGotoCallButton.SetSizePixel( aSz );
- aGotoCallButton.Hide();
-
// make stack window keyboard accessible
GetSystemWindow()->GetTaskPaneList()->AddWindow( this );
}
@@ -1560,16 +1551,6 @@ void StackWindow::Resize()
IMPL_LINK_INLINE_START( StackWindow, ButtonHdl, ImageButton *, pButton )
{
- if ( pButton == &aGotoCallButton )
- {
- BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
- SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL;
- SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL;
- if( pDispatcher )
- {
- pDispatcher->Execute( SID_BASICIDE_GOTOCALL );
- }
- }
return 0;
}
IMPL_LINK_INLINE_END( StackWindow, ButtonHdl, ImageButton *, pButton )