summaryrefslogtreecommitdiff
path: root/tools/source/datetime
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-08 21:36:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-09 13:15:39 +0200
commitd8e90fdd90f299445509d93c905446f879bf8c73 (patch)
treec69e4d52d960f5366c9f9aa9d24e66f7c7c8e5f6 /tools/source/datetime
parent987e99d9e38479211fad6bc97134c75bebcf615b (diff)
there are 3600000 seconds in an hour
regression from... commit 9830fd36dbdb72c79703b0c61efc027fba793c5a Date: Sun Mar 17 08:36:26 2013 +0100 date/time IDL datatypes incompatible change Change-Id: I2f4b64a73b5529ba190acc678d907761bb568bbf Reviewed-on: https://gerrit.libreoffice.org/54009 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'tools/source/datetime')
-rw-r--r--tools/source/datetime/ttime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index 231a096e09dc..a8b3a5d52b58 100644
--- a/tools/source/datetime/ttime.cxx
+++ b/tools/source/datetime/ttime.cxx
@@ -239,7 +239,7 @@ sal_Int32 tools::Time::GetMSFromTime() const
( nNanoSec/1000000 +
nSec * 1000 +
nMin * 60000 +
- nHour * 360000 );
+ nHour * 3600000 );
}
void tools::Time::MakeTimeFromMS( sal_Int32 nMS )