diff options
Diffstat (limited to 'svtools/source/toolpanel/toolpaneldrawer.cxx')
-rw-r--r-- | svtools/source/toolpanel/toolpaneldrawer.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx index 8fce1ad89f1c..d63840924903 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.cxx +++ b/svtools/source/toolpanel/toolpaneldrawer.cxx @@ -257,7 +257,7 @@ namespace svt switch ( i_rEvent.GetType() ) { - case DATACHANGED_SETTINGS: + case DataChangedEventType::SETTINGS: if ( ( i_rEvent.GetFlags() & SETTINGS_STYLE ) == 0 ) break; SetSettings( Application::GetSettings() ); @@ -265,8 +265,8 @@ namespace svt // fall through. - case DATACHANGED_FONTS: - case DATACHANGED_FONTSUBSTITUTION: + case DataChangedEventType::FONTS: + case DataChangedEventType::FONTSUBSTITUTION: { const StyleSettings& rStyleSettings( GetSettings().GetStyleSettings() ); @@ -288,6 +288,7 @@ namespace svt Invalidate(); } break; + default: break; } } |