diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/toolbox.cxx | 2 | ||||
-rw-r--r-- | starmath/source/view.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index 26a1fbe7db23..7416beb8559b 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -211,7 +211,7 @@ void SmToolBoxWindow::DataChanged( const DataChangedEvent &rEvt ) void SmToolBoxWindow::StateChanged( StateChangedType nStateChange ) { static bool bSetPosition = true; - if (StateChangedType::INITSHOW == nStateChange) + if (StateChangedType::InitShow == nStateChange) { SetCategory( nActiveCategoryRID == USHRT_MAX ? RID_UNBINOPS_CAT : nActiveCategoryRID ); diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index cb391ebe2103..57e3ad92a0ac 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -134,7 +134,7 @@ void SmGraphicWindow::dispose() void SmGraphicWindow::StateChanged( StateChangedType eType ) { - if ( eType == StateChangedType::INITSHOW ) + if ( eType == StateChangedType::InitShow ) Show(); ScrollableWindow::StateChanged( eType ); } @@ -803,7 +803,7 @@ SfxChildAlignment SmCmdBoxWindow::CheckAlignment(SfxChildAlignment eActual, void SmCmdBoxWindow::StateChanged( StateChangedType nStateChange ) { - if (StateChangedType::INITSHOW == nStateChange) + if (StateChangedType::InitShow == nStateChange) { Resize(); // avoid SmEditWindow not being painted correctly |