summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-08-10 11:56:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-08-10 15:54:01 +0200
commit80042cc0e9786fe8dcabe0b8f106183f8df19355 (patch)
tree6874ca68cf235e7340d1aed99e03a7be0624e3d5 /sal
parent98617d958da903fa1bc849dce50ffba6e2c035ff (diff)
aTime.tm_wday gets overwritten anyway
so drop the first write in favor of the second Change-Id: Iac906d806a66e010e8352139b555aef6078bda02 Reviewed-on: https://gerrit.libreoffice.org/77235 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/time.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sal/osl/unx/time.cxx b/sal/osl/unx/time.cxx
index 490865d9a859..a77015614e74 100644
--- a/sal/osl/unx/time.cxx
+++ b/sal/osl/unx/time.cxx
@@ -127,7 +127,6 @@ sal_Bool SAL_CALL osl_getTimeValueFromDateTime( const oslDateTime* pDateTime, Ti
aTime.tm_min = pDateTime->Minutes;
aTime.tm_hour = pDateTime->Hours;
aTime.tm_mday = pDateTime->Day;
- aTime.tm_wday = pDateTime->DayOfWeek;
if ( pDateTime->Month > 0 )
aTime.tm_mon = pDateTime->Month - 1;