diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 09:29:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:18:36 +0000 |
commit | d40971a47838afd007b8563d16bc8176b7f43176 (patch) | |
tree | 3752aab7d3653d6063dc75c76dad4f8f5d0c4aa0 /vcl/source/control/morebtn.cxx | |
parent | 82380478483e785fca73bc67dbc181c15812566b (diff) |
MoreButtons cannot be loaded from .src anymore
Change-Id: Ib831895b33323dd478cc125b3bf93c43826ef59d
Diffstat (limited to 'vcl/source/control/morebtn.cxx')
-rw-r--r-- | vcl/source/control/morebtn.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx index fea5a81dfa05..0146cefce4ff 100644 --- a/vcl/source/control/morebtn.cxx +++ b/vcl/source/control/morebtn.cxx @@ -78,26 +78,6 @@ MoreButton::MoreButton( Window* pParent, WinBits nStyle ) : ImplInit( pParent, nStyle ); } -void MoreButton::ImplLoadRes( const ResId& rResId ) -{ - PushButton::ImplLoadRes( rResId ); - - sal_uLong nObjMask = ReadLongRes(); - - if ( nObjMask & RSC_MOREBUTTON_STATE ) - { - // Don't call method as Dialog should not be switched over - mbState = ReadShortRes() != 0; - // SetText( GetText() ); - ShowState(); - } - if ( nObjMask & RSC_MOREBUTTON_MAPUNIT ) - meUnit = (MapUnit)ReadLongRes(); - if ( nObjMask & RSC_MOREBUTTON_DELTA ) - // Size for resizing the Dialog - mnDelta = ReadShortRes(); -} - MoreButton::~MoreButton() { delete mpMBData->mpItemList; |