summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index c023365333a1..f9c77ca2b4ca 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -128,7 +128,7 @@ SmGraphicWindow::~SmGraphicWindow()
void SmGraphicWindow::StateChanged( StateChangedType eType )
{
- if ( eType == STATE_CHANGE_INITSHOW )
+ if ( eType == StateChangedType::INITSHOW )
Show();
ScrollableWindow::StateChanged( eType );
}
@@ -796,7 +796,7 @@ SfxChildAlignment SmCmdBoxWindow::CheckAlignment(SfxChildAlignment eActual,
void SmCmdBoxWindow::StateChanged( StateChangedType nStateChange )
{
- if (STATE_CHANGE_INITSHOW == nStateChange)
+ if (StateChangedType::INITSHOW == nStateChange)
{
Resize(); // avoid SmEditWindow not being painted correctly