summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/datetime/ttime.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index d9bfc40dfc02..f1dea02a6afb 100644
--- a/tools/source/datetime/ttime.cxx
+++ b/tools/source/datetime/ttime.cxx
@@ -287,6 +287,7 @@ void tools::Time::GetClock( double fTimeInDays,
if (fTime <= 0.0 || fTime >= 1.0)
{
nHour = nMinute = nSecond = 0;
+ fFractionOfSecond = 0.0;
return;
}