summaryrefslogtreecommitdiffstats
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 00bae3b48c3f..4486a89bbd27 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2043,8 +2043,8 @@ void SmViewShell::Notify( SfxBroadcaster& , const SfxHint& rHint )
{
switch( rHint.GetId() )
{
- case SFX_HINT_MODECHANGED:
- case SFX_HINT_DOCCHANGED:
+ case SfxHintId::ModeChanged:
+ case SfxHintId::DocChanged:
GetViewFrame()->GetBindings().InvalidateAll(false);
break;
default: