summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontroller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-13 14:18:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-16 06:41:38 +0000
commit58944b5c6e49023d93f08e9e18eaa47f445dc5f8 (patch)
treeb33b8d5931004eddc0357a8509d0a36d592a7e3e /svx/source/form/formcontroller.cxx
parenta9ff36a1e9080b7789d2150dd5a0fdcb1cc7a968 (diff)
convert CONTROL_STATUS to scoped enum
Change-Id: I1639b7f0f0a735fd97f5bce6ff018dd7d8eb5726 Reviewed-on: https://gerrit.libreoffice.org/24961 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/form/formcontroller.cxx')
-rw-r--r--svx/source/form/formcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 3072c399e528..40cd718f40b6 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -1921,11 +1921,11 @@ void FormController::setModel(const Reference< XTabControllerModel > & Model) th
sal_Int32 nColor = 0;
if ( xModelProps->getPropertyValue( FM_PROP_CONTROL_BORDER_COLOR_FOCUS ) >>= nColor )
- m_pControlBorderManager->setStatusColor( CONTROL_STATUS_FOCUSED, nColor );
+ m_pControlBorderManager->setStatusColor( ControlStatus::Focused, nColor );
if ( xModelProps->getPropertyValue( FM_PROP_CONTROL_BORDER_COLOR_MOUSE ) >>= nColor )
- m_pControlBorderManager->setStatusColor( CONTROL_STATUS_MOUSE_HOVER, nColor );
+ m_pControlBorderManager->setStatusColor( ControlStatus::MouseHover, nColor );
if ( xModelProps->getPropertyValue( FM_PROP_CONTROL_BORDER_COLOR_INVALID ) >>= nColor )
- m_pControlBorderManager->setStatusColor( CONTROL_STATUS_INVALID, nColor );
+ m_pControlBorderManager->setStatusColor( ControlStatus::Invalid, nColor );
}
}
}