summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgfield.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-15 10:40:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-16 14:43:25 +0200
commit2ba9f793c7e80a3bed9aceb3281d55ddc7957f85 (patch)
tree239f53bb2234516baf41b482293fca06fceff4e3 /sd/source/ui/dlg/dlgfield.cxx
parent70e552065339f1f7ab14f991f3e840b5461e609e (diff)
convert SvxTimeType to scoped enum
Change-Id: Ic5ca8c50ccd74837cd0521a13e1f5eaa8e326ff3 Reviewed-on: https://gerrit.libreoffice.org/42344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/dlg/dlgfield.cxx')
-rw-r--r--sd/source/ui/dlg/dlgfield.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/dlgfield.cxx b/sd/source/ui/dlg/dlgfield.cxx
index dc7be8b9312e..f87c4393eb7e 100644
--- a/sd/source/ui/dlg/dlgfield.cxx
+++ b/sd/source/ui/dlg/dlgfield.cxx
@@ -104,9 +104,9 @@ SvxFieldData* SdModifyFieldDlg::GetField()
SvxTimeFormat eFormat;
if( m_pRbtFix->IsChecked() )
- eType = SVXTIMETYPE_FIX;
+ eType = SvxTimeType::Fix;
else
- eType = SVXTIMETYPE_VAR;
+ eType = SvxTimeType::Var;
eFormat = (SvxTimeFormat) ( m_pLbFormat->GetSelectEntryPos() + 2 );
@@ -274,7 +274,7 @@ void SdModifyFieldDlg::FillControls()
const SvxExtTimeField* pTimeField = static_cast<const SvxExtTimeField*>(pField);
SvxExtTimeField aTimeField( *pTimeField );
- if( pTimeField->GetType() == SVXTIMETYPE_FIX )
+ if( pTimeField->GetType() == SvxTimeType::Fix )
m_pRbtFix->Check();
else
m_pRbtVar->Check();