summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dialcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r--svx/source/dialog/dialcontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index d25f61f46b8b..bf6c0c018b93 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -286,7 +286,7 @@ void DialControl::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle
void DialControl::StateChanged( StateChangedType nStateChange )
{
- if( nStateChange == StateChangedType::ENABLE )
+ if( nStateChange == StateChangedType::Enable )
InvalidateControl();
// update the linked edit field
@@ -295,8 +295,8 @@ void DialControl::StateChanged( StateChangedType nStateChange )
NumericField& rField = *mpImpl->mpLinkField;
switch( nStateChange )
{
- case StateChangedType::VISIBLE: rField.Show( IsVisible() ); break;
- case StateChangedType::ENABLE: rField.Enable( IsEnabled() ); break;
+ case StateChangedType::Visible: rField.Show( IsVisible() ); break;
+ case StateChangedType::Enable: rField.Enable( IsEnabled() ); break;
default:;
}
}