[Libreoffice-commits] core.git: sal/osl

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 10 13:54:38 UTC 2019


 sal/osl/unx/time.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 80042cc0e9786fe8dcabe0b8f106183f8df19355
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Aug 10 11:56:57 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Aug 10 15:54:01 2019 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list