summaryrefslogtreecommitdiff
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
commit7eba32f0eacd71fbf2561c9f58f52b89cdd0e86f (patch)
treedc4d1bea5378b976afe0f86eddab54cc20c3253b
parentcf07a26b571f3d3111577ad1fbdbfecf68029fc7 (diff)
fdo#36230 Remove unused AGotoCallButton and associated RID_IMGBTN_GOTOCALL id
-rw-r--r--basctl/inc/basidesh.hrc1
-rw-r--r--basctl/source/basicide/baside2.hxx1
-rw-r--r--basctl/source/basicide/baside2b.cxx19
-rw-r--r--basctl/source/basicide/basidesh.src5
4 files changed, 0 insertions, 26 deletions
diff --git a/basctl/inc/basidesh.hrc b/basctl/inc/basidesh.hrc
index 339749b6d..0c85ead14 100644
--- a/basctl/inc/basidesh.hrc
+++ b/basctl/inc/basidesh.hrc
@@ -53,7 +53,6 @@
#define RID_PRINTDLG_STRLIST ( RID_BASICIDE_START + 78 )
#define RID_IMGBTN_REMOVEWATCH ( RID_BASICIDE_START + 8 )
-#define RID_IMGBTN_GOTOCALL ( RID_BASICIDE_START + 9 )
#define RID_IMG_INSTALLATION ( RID_BASICIDE_START + 20 )
#define RID_IMG_DOCUMENT ( RID_BASICIDE_START + 22 )
#define RID_IMG_MODLIB ( RID_BASICIDE_START + 24 )
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 573d7c610..a41bb3e0c 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -265,7 +265,6 @@ class StackWindow : public BasicDockingWindow
{
private:
SvTreeListBox aTreeListBox;
- ImageButton aGotoCallButton;
String aStackStr;
protected:
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 2ac4f1c7a..559769134 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 )
diff --git a/basctl/source/basicide/basidesh.src b/basctl/source/basicide/basidesh.src
index 6fab2c55e..babb05aab 100644
--- a/basctl/source/basicide/basidesh.src
+++ b/basctl/source/basicide/basidesh.src
@@ -324,11 +324,6 @@ ImageButton RID_IMGBTN_REMOVEWATCH
};
QuickHelpText [ en-US ] = "Remove Watch" ;
};
-ImageButton RID_IMGBTN_GOTOCALL
-{
- HelpId = HID_BASICIDE_GOTOALL ;
- SmallStyle = TRUE ;
-};
String RID_STR_REMOVEWATCH
{