diff options
Diffstat (limited to 'vcl/source/control/field2.cxx')
-rw-r--r-- | vcl/source/control/field2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 15e994e48ff3..f082b08f798d 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -3102,7 +3102,7 @@ namespace weld { tools::Time TimeFormatter::ConvertValue(int nValue) { - tools::Time aTime(0); + tools::Time aTime(tools::Time::EMPTY); aTime.MakeTimeFromMS(nValue); return aTime; } @@ -3156,7 +3156,7 @@ namespace weld { const LocaleDataWrapper& rLocaleDataWrapper = Application::GetSettings().GetLocaleDataWrapper(); - tools::Time aResult(0); + tools::Time aResult(tools::Time::EMPTY); bool bRet = ::TimeFormatter::TextToTime(GetEntryText(), aResult, m_eFormat, m_bDuration, rLocaleDataWrapper); if (bRet) *result = ConvertValue(aResult); |