summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-28 17:22:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-28 20:31:43 +0100
commit2dbfc83574d3446e4aff6b155db3d521445c3746 (patch)
tree94aa23f29237fc95038112ceb3d55b91c1c93d3e /vcl
parent2cc92727f50ce3ea52aef6364f6adb2b27c52cb5 (diff)
trivial clarification
Change-Id: Ic75ad6e2981af607989cecee47ce8d660174cb14
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/tabctrl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 515697e3abde..f9df33f05e7d 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -1101,7 +1101,6 @@ void TabControl::ImplPaint( const Rectangle& rRect, bool bLayout )
const ImplControlValue aControlValue;
ControlState nState = ControlState::ENABLED;
- int part = PART_ENTIRE_CONTROL;
if ( !IsEnabled() )
nState &= ~ControlState::ENABLED;
if ( HasFocus() )
@@ -1113,7 +1112,7 @@ void TabControl::ImplPaint( const Rectangle& rRect, bool bLayout )
aClipRgn.Intersect( rRect );
if( !aClipRgn.IsEmpty() )
- bNativeOK = DrawNativeControl( CTRL_TAB_PANE, part, aRect, nState,
+ bNativeOK = DrawNativeControl( CTRL_TAB_PANE, PART_ENTIRE_CONTROL, aRect, nState,
aControlValue, OUString() );
}
else