i18npool/source/calendar/calendar_gregorian.cxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit ba1dc6fcb9f5df0b397effb20e2f58bb8c734879
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Nov 3 14:10:31 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Nov 3 21:56:53 2020 +0100

    presumably 'true' is sufficient in all cases
    
    Change-Id: I9366193085a4c46ef64f0a9660e51b8678ca35f9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105252
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/i18npool/source/calendar/calendar_gregorian.cxx 
b/i18npool/source/calendar/calendar_gregorian.cxx
index f05fc96009ca..1da80995b1d1 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -360,13 +360,7 @@ Calendar_gregorian::setLocalDateTime( double fTimeInDays )
             "Calendar_gregorian::setLocalDateTime: " << std::fixed << fM << " 
rounded to " << fR);
     int32_t nZoneOffset, nDSTOffset;
     UErrorCode status = U_ZERO_ERROR;
-    body->getTimeZone().getOffset( fR,
-#if U_ICU_VERSION_MAJOR_NUM >= 68
-    true,
-#else
-    TRUE,
-#endif
-    nZoneOffset, nDSTOffset, status );
+    body->getTimeZone().getOffset( fR, true, nZoneOffset, nDSTOffset, status );
 
     if ( !U_SUCCESS(status) ) throw ERROR;
     status = U_ZERO_ERROR;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to