diff options
author | Shivam Kumar Singh <shivamhere247@gmail.com> | 2020-01-15 14:44:44 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-04 18:27:25 +0100 |
commit | 03685b1ab86a9b8d78ad2a4fd460c2aaa50f03ab (patch) | |
tree | 88ca2b76e2056517b181a57e735f3e2f4a4ad316 /include/salhelper | |
parent | a68157c88add7a815678155f4d7a743b010d92f5 (diff) |
tdf#96505 Get rid of cargo cult "long" integer literals .
In some places the integers end with L which denotes that the number is in long long format.
This representation was not required .
Change-Id: Ia8ae328ee943780ccbfb7ce15013f3ac0365a3db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86842
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/salhelper')
-rw-r--r-- | include/salhelper/timer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salhelper/timer.hxx b/include/salhelper/timer.hxx index 440790432f59..f6e67f454270 100644 --- a/include/salhelper/timer.hxx +++ b/include/salhelper/timer.hxx @@ -50,7 +50,7 @@ struct SAL_WARN_UNUSED TTimeValue : public TimeValue TTimeValue(sal_uInt32 MilliSecs) { - Seconds = MilliSecs / 1000L; + Seconds = MilliSecs / 1000; Nanosec = (MilliSecs % 1000) * 1000000L; normalize(); |