summaryrefslogtreecommitdiff
path: root/framework/source/uielement/toolbarmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/toolbarmanager.cxx')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx6
1 files changed, 3 insertions, 3 deletions
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();
}