diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/generictoolboxcontroller.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/uno/generictoolboxcontroller.cxx b/svtools/source/uno/generictoolboxcontroller.cxx index b77a309afb37..1c78816e63af 100644 --- a/svtools/source/uno/generictoolboxcontroller.cxx +++ b/svtools/source/uno/generictoolboxcontroller.cxx @@ -137,8 +137,8 @@ throw ( RuntimeException, std::exception ) { m_pToolbox->EnableItem( m_nID, Event.IsEnabled ); - sal_uInt16 nItemBits = m_pToolbox->GetItemBits( m_nID ); - nItemBits &= ~TIB_CHECKABLE; + ToolBoxItemBits nItemBits = m_pToolbox->GetItemBits( m_nID ); + nItemBits &= ~ToolBoxItemBits::CHECKABLE; TriState eTri = TRISTATE_FALSE; bool bValue; @@ -152,7 +152,7 @@ throw ( RuntimeException, std::exception ) m_pToolbox->CheckItem( m_nID, bValue ); if ( bValue ) eTri = TRISTATE_TRUE; - nItemBits |= TIB_CHECKABLE; + nItemBits |= ToolBoxItemBits::CHECKABLE; } else if ( Event.State >>= aStrValue ) { @@ -161,7 +161,7 @@ throw ( RuntimeException, std::exception ) else if ( Event.State >>= aItemState ) { eTri = TRISTATE_INDET; - nItemBits |= TIB_CHECKABLE; + nItemBits |= ToolBoxItemBits::CHECKABLE; } m_pToolbox->SetItemState( m_nID, eTri ); |