diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/addonstoolbarmanager.cxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx index 82e7596c422d..35abdcab9d43 100644 --- a/framework/source/uielement/addonstoolbarmanager.cxx +++ b/framework/source/uielement/addonstoolbarmanager.cxx @@ -458,7 +458,7 @@ IMPL_LINK_NOARG(AddonsToolBarManager, Deactivate) IMPL_LINK( AddonsToolBarManager, StateChanged, StateChangedType*, pStateChangedType ) { - if ( *pStateChangedType == STATE_CHANGE_CONTROLBACKGROUND ) + if ( *pStateChangedType == StateChangedType::CONTROLBACKGROUND ) { CheckAndUpdateImages(); } diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index 555d9672ba3b..b9ec5385d099 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -2031,16 +2031,16 @@ IMPL_LINK( ToolBarManager, StateChanged, StateChangedType*, pStateChangedType ) if ( m_bDisposed ) return 1; - if ( *pStateChangedType == STATE_CHANGE_CONTROLBACKGROUND ) + if ( *pStateChangedType == StateChangedType::CONTROLBACKGROUND ) { CheckAndUpdateImages(); } - else if ( *pStateChangedType == STATE_CHANGE_VISIBLE ) + else if ( *pStateChangedType == StateChangedType::VISIBLE ) { if ( m_pToolBar->IsReallyVisible() ) m_aAsyncUpdateControllersTimer.Start(); } - else if ( *pStateChangedType == STATE_CHANGE_INITSHOW ) + else if ( *pStateChangedType == StateChangedType::INITSHOW ) { m_aAsyncUpdateControllersTimer.Start(); } |