summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/numfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/numfmt.cxx')
-rw-r--r--cui/source/tabpages/numfmt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 4121b72341d7..ed1599155ae1 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -205,9 +205,9 @@ void SvxNumberPreview::InitSettings( bool bForeground, bool bBackground )
void SvxNumberPreview::StateChanged( StateChangedType nType )
{
- if ( nType == STATE_CHANGE_CONTROLFOREGROUND )
+ if ( nType == StateChangedType::CONTROLFOREGROUND )
InitSettings( true, false );
- else if ( nType == STATE_CHANGE_CONTROLBACKGROUND )
+ else if ( nType == StateChangedType::CONTROLBACKGROUND )
InitSettings( false, true );
Window::StateChanged( nType );