diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 8dc5f89346fa0f6820d5fd0b1ad4092168967f12 (patch) | |
tree | f3742c90480393565c89ffdd0cb1cee639c65d0d /vcl/source/control/tabctrl.cxx | |
parent | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (diff) |
loplugin: defaultparams
Change-Id: I79a889c68e91712d2abdacc559c78813f730e623
Diffstat (limited to 'vcl/source/control/tabctrl.cxx')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index d8053c40b55b..2cda79ca6a34 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -112,7 +112,7 @@ void TabControl::ImplInit( vcl::Window* pParent, WinBits nStyle ) // if the tabcontrol is drawn (ie filled) by a native widget, make sure all contols will have transparent background // otherwise they will paint with a wrong background if( IsNativeControlSupported(CTRL_TAB_PANE, PART_ENTIRE_CONTROL) ) - EnableChildTransparentMode( true ); + EnableChildTransparentMode(); if (pParent && pParent->IsDialog()) pParent->AddChildEventListener( LINK( this, TabControl, ImplWindowEventListener ) ); @@ -144,7 +144,7 @@ void TabControl::ImplInitSettings( bool bFont, { // set transparent mode for NWF tabcontrols to have // the background always cleared properly - EnableChildTransparentMode( true ); + EnableChildTransparentMode(); SetParentClipMode( ParentClipMode::NoClip ); SetPaintTransparent( true ); SetBackground(); @@ -153,7 +153,7 @@ void TabControl::ImplInitSettings( bool bFont, else { EnableChildTransparentMode( false ); - SetParentClipMode( ParentClipMode::NONE ); + SetParentClipMode(); SetPaintTransparent( false ); if ( IsControlBackground() ) @@ -1059,7 +1059,7 @@ void TabControl::KeyInput( const KeyEvent& rKEvt ) void TabControl::Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect) { if (!(GetStyle() & WB_NOBORDER)) - ImplPaint(rRenderContext, rRect, false); + ImplPaint(rRenderContext, rRect); } void TabControl::ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle& rRect, bool bLayout) @@ -1231,7 +1231,7 @@ void TabControl::ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle& if (bLayout || !aClipRgn.IsEmpty()) { ImplDrawItem(rRenderContext, pItem, aCurRect, bLayout, - pItem == pFirstTab, pItem == pLastTab, false); + pItem == pFirstTab, pItem == pLastTab); } } |