summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-11-03 14:10:31 +0000
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-04-20 22:32:31 +0200
commita16a22023bf570184b499f01097f73d5ee29049d (patch)
tree52cb30efe7b49fec1d4e207f90d4ccb9fb3d2b79
parent28e07fa9ef737921857cf9941086c0425409b90b (diff)
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 <caolanm@redhat.com> (cherry picked from commit ba1dc6fcb9f5df0b397effb20e2f58bb8c734879) Conflicts: i18npool/source/calendar/calendar_gregorian.cxx
-rw-r--r--i18npool/source/calendar/calendar_gregorian.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index cc15c9c40f6e..fa2da020db8a 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -329,7 +329,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, TRUE, nZoneOffset, nDSTOffset, status );
+ body->getTimeZone().getOffset( fR, true, nZoneOffset, nDSTOffset, status );
if ( !U_SUCCESS(status) ) throw ERROR;
status = U_ZERO_ERROR;
body->setTime( fR - (nZoneOffset + nDSTOffset), status );