summaryrefslogtreecommitdiff
path: root/oox/source/dump/dumperbase.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-23 20:09:47 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-23 20:09:47 +0200
commitfbd11a2a940230f43f42defda57dbf852f83c627 (patch)
tree1236e7c62f94258bf412f8e0b58cad31b3f18c42 /oox/source/dump/dumperbase.cxx
parent3810c9cc78ae8a4e96c216b725cd400f97934b45 (diff)
fixup nanosecond precision
Change-Id: Id62d3b994ece9cdf3b5f085e94f612cf62fc906b
Diffstat (limited to 'oox/source/dump/dumperbase.cxx')
-rw-r--r--oox/source/dump/dumperbase.cxx2
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 );