diff options
Diffstat (limited to 'framework/source/uielement/statusbarmerger.cxx')
-rw-r--r-- | framework/source/uielement/statusbarmerger.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/uielement/statusbarmerger.cxx b/framework/source/uielement/statusbarmerger.cxx index 68ca2c84966e..9459acc8e61b 100644 --- a/framework/source/uielement/statusbarmerger.cxx +++ b/framework/source/uielement/statusbarmerger.cxx @@ -78,18 +78,18 @@ void lcl_ConvertSequenceToValues( } } - sal_uInt16 nItemBits(0); + StatusBarItemBits nItemBits(StatusBarItemBits::NONE); if ( bAutoSize ) - nItemBits |= SIB_AUTOSIZE; + nItemBits |= StatusBarItemBits::AutoSize; if ( bOwnerDraw ) - nItemBits |= SIB_USERDRAW; + nItemBits |= StatusBarItemBits::UserDraw; if ( sAlignment == STATUSBAR_ALIGN_CENTER ) - nItemBits |= SIB_CENTER; + nItemBits |= StatusBarItemBits::Center; else if ( sAlignment == STATUSBAR_ALIGN_RIGHT ) - nItemBits |= SIB_RIGHT; + nItemBits |= StatusBarItemBits::Right; else // if unset, defaults to left alignment - nItemBits |= SIB_LEFT; + nItemBits |= StatusBarItemBits::Left; rItem.nItemBits = nItemBits; } |