diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-20 13:29:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-21 06:40:36 +0000 |
commit | ebdba869de1de51b4cc7ca24c1a6a639d44de1bf (patch) | |
tree | a51965a28861f7e82dd2f55cf88be251a67f0347 /svtools | |
parent | 5bf6fecde772d1fb35645fe217e6fe3b5b5ac918 (diff) |
convert TABITEM constants to scoped enum
Change-Id: Ia16127a7d97ef7db59bd2b0e6b8d14d8625bc526
Reviewed-on: https://gerrit.libreoffice.org/15827
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/toolpanel/paneltabbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx index b1f28b5ed2a4..6352d4c5c298 100644 --- a/svtools/source/toolpanel/paneltabbar.cxx +++ b/svtools/source/toolpanel/paneltabbar.cxx @@ -325,9 +325,9 @@ namespace svt i_rContentRect.Bottom() - TAB_TABOFFSET_Y)); if ( i_nItemFlags & ITEM_POSITION_FIRST ) - tiValue.mnAlignment |= TABITEM_FIRST_IN_GROUP; + tiValue.mnAlignment |= TabitemFlags::FirstInGroup; if ( i_nItemFlags & ITEM_POSITION_LAST ) - tiValue.mnAlignment |= TABITEM_LAST_IN_GROUP; + tiValue.mnAlignment |= TabitemFlags::LastInGroup; bool bNativeOK = getTargetDevice().DrawNativeControl( CTRL_TAB_ITEM, PART_ENTIRE_CONTROL, i_rContentRect, nState, tiValue, OUString() ); |