diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 20:41:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-28 06:12:28 +0000 |
commit | 17a99a9074a7d25cc7e13bf7aaac0fa11e2174a0 (patch) | |
tree | fa314e333575af0d219dd87ff589a58736f55f03 /sd/source | |
parent | 282e954477f904524ca192256c4e33ab0585e2f6 (diff) |
fdo#84938: replace TIMEF_ constants with enum
Change-Id: Ia6aa4e21fef46b20d1d8996d2f15855b8ba1776e
Reviewed-on: https://gerrit.libreoffice.org/12114
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/html/pubdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/animobjs.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/present.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 5ddeb2ffe412..9070b7586817 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -446,7 +446,7 @@ SdPublishingDlg::SdPublishingDlg(vcl::Window* pWindow, DocumentType eDocType) pPage2_ChgDefault->SetClickHdl(LINK(this,SdPublishingDlg, SlideChgHdl)); pPage2_ChgAuto->SetClickHdl(LINK(this,SdPublishingDlg, SlideChgHdl)); - pPage2_Duration->SetFormat( TIMEF_SEC ); + pPage2_Duration->SetFormat( TimeFieldFormat::F_SEC ); pPage5_Buttons->SetSelectHdl(LINK(this,SdPublishingDlg, ButtonsHdl )); pPage5_Buttons->SetStyle( pPage5_Buttons->GetStyle() | WB_VSCROLL ); diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 407bdda8a84e..df22072aef92 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -170,7 +170,7 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings, pControllerItem = new AnimationControllerItem( SID_ANIMATOR_STATE, this, pBindings ); // as long as not in the resource - aTimeField.SetFormat( TIMEF_SEC_CS ); + aTimeField.SetFormat( TimeFieldFormat::F_SEC_CS ); aBtnFirst.SetClickHdl( LINK( this, AnimationWindow, ClickFirstHdl ) ); aBtnReverse.SetClickHdl( LINK( this, AnimationWindow, ClickPlayHdl ) ); diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 08eb6f324d3c..9338dc40d6b4 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -520,9 +520,9 @@ AssistentDlgImpl::AssistentDlgImpl( vcl::Window* pWindow, const Link& rFinishLin mpPage3PresTypeLiveRB->Check(); mpPage3PresTypeLiveRB->SetClickHdl( LINK(this,AssistentDlgImpl, PresTypeHdl )); mpPage3PresTypeKioskRB->SetClickHdl( LINK(this,AssistentDlgImpl, PresTypeHdl )); - mpPage3PresTimeTMF->SetFormat( TIMEF_SEC ); + mpPage3PresTimeTMF->SetFormat( TimeFieldFormat::F_SEC ); mpPage3PresTimeTMF->SetTime( ::tools::Time( 0, 0, 10 ) ); - mpPage3BreakTMF->SetFormat( TIMEF_SEC ); + mpPage3BreakTMF->SetFormat( TimeFieldFormat::F_SEC ); mpPage3BreakTMF->SetTime( ::tools::Time( 0, 0, 10 ) ); mpPage3LogoCB->Check(); diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index 21e1fedf2689..c8196434f594 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -84,7 +84,7 @@ SdStartPresentationDlg::SdStartPresentationDlg( vcl::Window* pWindow, aRbtAuto->SetClickHdl( aLink ); aTmfPause->SetModifyHdl( LINK( this, SdStartPresentationDlg, ChangePauseHdl ) ); - aTmfPause->SetFormat( TIMEF_SEC ); + aTmfPause->SetFormat( TimeFieldFormat::F_SEC ); // fill Listbox with page names for (std::vector<OUString>::const_iterator pIter = rPageNames.begin(); pIter != rPageNames.end(); ++pIter) |