summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-13 09:17:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-13 11:18:35 +0000
commit82380478483e785fca73bc67dbc181c15812566b (patch)
tree6f376f4dbd31a8fb20ed422b587025432e545ef2 /vcl
parent41776e53c54968881021c25f1173d190cfd2ba5d (diff)
callcatcher: update unused code
Change-Id: I0cfdeefea35d3cb9f00ec4351a1f0f8c58ba5843
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/morebtn.cxx28
1 files changed, 1 insertions, 27 deletions
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx
index cca8ee4380a8..fea5a81dfa05 100644
--- a/vcl/source/control/morebtn.cxx
+++ b/vcl/source/control/morebtn.cxx
@@ -78,18 +78,6 @@ MoreButton::MoreButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-MoreButton::MoreButton( Window* pParent, const ResId& rResId ) :
- PushButton( WINDOW_MOREBUTTON )
-{
- rResId.SetRT( RSC_MOREBUTTON );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
void MoreButton::ImplLoadRes( const ResId& rResId )
{
PushButton::ImplLoadRes( rResId );
@@ -112,8 +100,7 @@ void MoreButton::ImplLoadRes( const ResId& rResId )
MoreButton::~MoreButton()
{
- if ( mpMBData->mpItemList )
- delete mpMBData->mpItemList;
+ delete mpMBData->mpItemList;
delete mpMBData;
}
@@ -171,19 +158,6 @@ void MoreButton::Click()
PushButton::Click();
}
-void MoreButton::AddWindow( Window* pWindow )
-{
- if ( !mpMBData->mpItemList )
- mpMBData->mpItemList = new ImplMoreWindowList();
-
- mpMBData->mpItemList->push_back( pWindow );
-
- if ( mbState )
- pWindow->Show();
- else
- pWindow->Hide();
-}
-
void MoreButton::SetText( const OUString& rText )
{
PushButton::SetText( rText );