diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-05-05 13:46:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-05-05 15:51:11 +0200 |
commit | 8fca0c44e8f21fa2ee1000665856292d5a1c44e9 (patch) | |
tree | e750236facc3fd44b051a70aaa0e81be0fc2c002 /starmath | |
parent | f24590521c5ffea13c0aecdb2f30fdd39bbfbc45 (diff) |
vcl: rename other members of StateChangedType for consistency
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
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 |