diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/formdlg/privsplt.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/namedlg/namemgrtable.cxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 9b9457f33bed..6393ed3e65b6 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -774,7 +774,7 @@ void ScInputWindow::StateChanged( StateChangedType nType ) { ToolBox::StateChanged( nType ); - if ( nType == STATE_CHANGE_INITSHOW ) Resize(); + if ( nType == StateChangedType::INITSHOW ) Resize(); } void ScInputWindow::DataChanged( const DataChangedEvent& rDCEvt ) diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index e602a5608641..9c03ed77920a 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -581,7 +581,7 @@ void ScFunctionDockWin::SetDescription() aBuf.append(*pDesc->pFuncDesc); aFiFuncDesc.SetText(aBuf.makeStringAndClear()); - aFiFuncDesc.StateChanged(STATE_CHANGE_TEXT); + aFiFuncDesc.StateChanged(StateChangedType::TEXT); aFiFuncDesc.Invalidate(); aFiFuncDesc.Update(); @@ -1105,7 +1105,7 @@ void ScFunctionDockWin::StateChanged( StateChangedType nStateChange ) { SfxDockingWindow::StateChanged( nStateChange ); - if (nStateChange == STATE_CHANGE_INITSHOW) + if (nStateChange == StateChangedType::INITSHOW) { UseSplitterInitPos(); // set initial splitter position if necessary } diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx index d111b7970f34..683d3d6285f0 100644 --- a/sc/source/ui/formdlg/privsplt.cxx +++ b/sc/source/ui/formdlg/privsplt.cxx @@ -369,18 +369,18 @@ void ScPrivatSplit::ImplInitSettings( bool bFont, bool bForeground, bool bBackgr void ScPrivatSplit::StateChanged( StateChangedType nType ) { - if ( (nType == STATE_CHANGE_ZOOM) || - (nType == STATE_CHANGE_CONTROLFONT) ) + if ( (nType == StateChangedType::ZOOM) || + (nType == StateChangedType::CONTROLFONT) ) { ImplInitSettings( true, false, false ); Invalidate(); } - if ( nType == STATE_CHANGE_CONTROLFOREGROUND ) + if ( nType == StateChangedType::CONTROLFOREGROUND ) { ImplInitSettings( false, true, false ); Invalidate(); } - else if ( nType == STATE_CHANGE_CONTROLBACKGROUND ) + else if ( nType == StateChangedType::CONTROLBACKGROUND ) { ImplInitSettings( false, false, true ); Invalidate(); diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 0d06e7507067..348dddb6341c 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -949,7 +949,7 @@ void ScRefHandler::stateChanged(const StateChangedType nStateChange, const bool { if( !bBindRef && !m_bInRefMode ) return; - if(nStateChange == STATE_CHANGE_VISIBLE) + if(nStateChange == StateChangedType::VISIBLE) { if(m_rWindow.IsVisible()) { diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx index a024b72cb7fd..1f37f67291e4 100644 --- a/sc/source/ui/namedlg/namemgrtable.cxx +++ b/sc/source/ui/namedlg/namemgrtable.cxx @@ -75,7 +75,7 @@ void ScRangeManagerTable::StateChanged( StateChangedType nStateChange ) { SvSimpleTable::StateChanged(nStateChange); - if (nStateChange == STATE_CHANGE_INITSHOW) + if (nStateChange == StateChangedType::INITSHOW) { if (GetEntryCount()) { |