fixup nanosecond precision

Change-Id: Id62d3b994ece9cdf3b5f085e94f612cf62fc906b
This commit is contained in:
Lionel Elie Mamane 2013-04-23 20:09:47 +02:00
parent 3810c9cc78
commit fbd11a2a94

View file

@ -2295,7 +2295,7 @@ util::DateTime InputObjectBase::dumpFileTime( const String& rName )
aDateTime.Seconds = static_cast< sal_uInt16 >( nTimeInDay % ::Time::secondPerMinute ); aDateTime.Seconds = static_cast< sal_uInt16 >( nTimeInDay % ::Time::secondPerMinute );
nTimeInDay /= ::Time::secondPerMinute; nTimeInDay /= ::Time::secondPerMinute;
// minutes // minutes
aDateTime.Minutes = static_cast< sal_uInt16 >( nTimeInDay ::Time::minutePerHour ); aDateTime.Minutes = static_cast< sal_uInt16 >( nTimeInDay % ::Time::minutePerHour );
nTimeInDay /= ::Time::minutePerHour; nTimeInDay /= ::Time::minutePerHour;
// hours // hours
aDateTime.Hours = static_cast< sal_uInt16 >( nTimeInDay ); aDateTime.Hours = static_cast< sal_uInt16 >( nTimeInDay );