From d8e90fdd90f299445509d93c905446f879bf8c73 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 8 May 2018 21:36:18 +0100 Subject: there are 3600000 seconds in an hour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- tools/source/datetime/ttime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/source') 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 ) -- cgit