diff options
Diffstat (limited to 'vcl/source/control/tabctrl.cxx')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 84d6e37f5dd7..a1d77ef755c0 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -158,18 +158,6 @@ const Color& TabControl::GetCanonicalTextColor( const StyleSettings& _rStyle ) c // ----------------------------------------------------------------------- -WinBits TabControl::ImplInitStyle( WinBits nStyle ) -{ - if ( !(nStyle & WB_NOTABSTOP) ) - nStyle |= WB_TABSTOP; - if ( !(nStyle & WB_NOGROUP) ) - nStyle |= WB_GROUP; - - return nStyle; -} - -// ----------------------------------------------------------------------- - void TabControl::ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground ) { @@ -1482,10 +1470,6 @@ void TabControl::StateChanged( StateChangedType nType ) ImplInitSettings( sal_False, sal_False, sal_True ); Invalidate(); } - else if ( nType == STATE_CHANGE_STYLE ) - { - SetStyle( ImplInitStyle( GetStyle() ) ); - } } // ----------------------------------------------------------------------- |