diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 14:23:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 15:24:34 +0100 |
commit | 024c78c94f43d6896e138b951cf55f31ec7dfd56 (patch) | |
tree | c2c89ab6be9028bbd19b43f15a9d1a8d71b8b4ba /cui/source/options/radiobtnbox.cxx | |
parent | 9ae7372923960ed02067f1757d155437ba142d5b (diff) |
Resolves: fdo#36534 rework SvxSimpleTable to not manage its own parent
Diffstat (limited to 'cui/source/options/radiobtnbox.cxx')
-rw-r--r-- | cui/source/options/radiobtnbox.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/cui/source/options/radiobtnbox.cxx b/cui/source/options/radiobtnbox.cxx index 06c0352864c0..ca30c33ea6e0 100644 --- a/cui/source/options/radiobtnbox.cxx +++ b/cui/source/options/radiobtnbox.cxx @@ -35,9 +35,8 @@ namespace svx { // class SvxRadioButtonListBox ---------------------------------------------------- -SvxRadioButtonListBox::SvxRadioButtonListBox( Window* _pParent, const ResId& _rId ) : - - SvxSimpleTable( _pParent, _rId ) +SvxRadioButtonListBox::SvxRadioButtonListBox(SvxSimpleTableContainer& rParent, WinBits nBits) + : SvxSimpleTable(rParent, nBits) { EnableCheckButton( new SvLBoxButtonData( this, true ) ); @@ -50,16 +49,6 @@ SvxRadioButtonListBox::~SvxRadioButtonListBox() void SvxRadioButtonListBox::SetTabs() { SvxSimpleTable::SetTabs(); -/* - sal_uInt16 nAdjust = SV_LBOXTAB_ADJUST_RIGHT | SV_LBOXTAB_ADJUST_LEFT | - SV_LBOXTAB_ADJUST_CENTER | SV_LBOXTAB_ADJUST_NUMERIC | SV_LBOXTAB_FORCE; - if ( aTabs.Count() > 0 ) - { - SvLBoxTab* pTab = (SvLBoxTab*)aTabs.GetObject(0); - pTab->nFlags &= ~nAdjust; - pTab->nFlags |= SV_LBOXTAB_PUSHABLE | SV_LBOXTAB_ADJUST_CENTER | SV_LBOXTAB_FORCE; - } -*/ } void SvxRadioButtonListBox::MouseButtonUp( const MouseEvent& _rMEvt ) |