summaryrefslogtreecommitdiff
path: root/svtools/source/control/tabbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/tabbar.cxx')
-rw-r--r--svtools/source/control/tabbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index d55a3cbbee66..27614954a535 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1282,7 +1282,7 @@ void TabBar::Paint( const Rectangle& rect )
{
if(IsNativeControlSupported(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL))
DrawNativeControl(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL,rect,
- CTRL_STATE_ENABLED,ImplControlValue(0),OUString());
+ ControlState::ENABLED,ImplControlValue(0),OUString());
// calculate items and emit
sal_uInt16 nItemCount = (sal_uInt16)mpItemList->size();