summaryrefslogtreecommitdiff
path: root/starmath/source/toolbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/toolbox.cxx')
-rw-r--r--starmath/source/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx
index 455441f4ab61..04a93553be68 100644
--- a/starmath/source/toolbox.cxx
+++ b/starmath/source/toolbox.cxx
@@ -201,7 +201,7 @@ void SmToolBoxWindow::DataChanged( const DataChangedEvent &rEvt )
void SmToolBoxWindow::StateChanged( StateChangedType nStateChange )
{
static bool bSetPosition = true;
- if (STATE_CHANGE_INITSHOW == nStateChange)
+ if (StateChangedType::INITSHOW == nStateChange)
{
SetCategory( nActiveCategoryRID == USHRT_MAX ? RID_UNBINOPS_CAT : nActiveCategoryRID );