From 17a99a9074a7d25cc7e13bf7aaac0fa11e2174a0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 27 Oct 2014 20:41:11 +0200 Subject: fdo#84938: replace TIMEF_ constants with enum Change-Id: Ia6aa4e21fef46b20d1d8996d2f15855b8ba1776e Reviewed-on: https://gerrit.libreoffice.org/12114 Tested-by: LibreOffice gerrit bot Reviewed-by: Noel Grandin --- extensions/source/propctrlr/standardcontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 126f24bf011e..60d64a91e43a 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -72,7 +72,7 @@ namespace pcr :OTimeControl_Base( PropertyControlType::TimeField, pParent, nWinStyle ) { getTypedControlWindow()->SetStrictFormat( true ); - getTypedControlWindow()->SetFormat( TIMEF_SEC ); + getTypedControlWindow()->SetFormat( TimeFieldFormat::F_SEC ); getTypedControlWindow()->EnableEmptyFieldValue( true ); } -- cgit