diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-23 20:09:47 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-23 20:09:47 +0200 |
commit | fbd11a2a940230f43f42defda57dbf852f83c627 (patch) | |
tree | 1236e7c62f94258bf412f8e0b58cad31b3f18c42 /oox/source/dump/dumperbase.cxx | |
parent | 3810c9cc78ae8a4e96c216b725cd400f97934b45 (diff) |
fixup nanosecond precision
Change-Id: Id62d3b994ece9cdf3b5f085e94f612cf62fc906b
Diffstat (limited to 'oox/source/dump/dumperbase.cxx')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index accc59356390..6f1c744fc1bb 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -2295,7 +2295,7 @@ util::DateTime InputObjectBase::dumpFileTime( const String& rName ) aDateTime.Seconds = static_cast< sal_uInt16 >( nTimeInDay % ::Time::secondPerMinute ); nTimeInDay /= ::Time::secondPerMinute; // minutes - aDateTime.Minutes = static_cast< sal_uInt16 >( nTimeInDay ::Time::minutePerHour ); + aDateTime.Minutes = static_cast< sal_uInt16 >( nTimeInDay % ::Time::minutePerHour ); nTimeInDay /= ::Time::minutePerHour; // hours aDateTime.Hours = static_cast< sal_uInt16 >( nTimeInDay ); |