Kaydet (Commit) b440845b authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

janitorial / stylistic

Change-Id: I8e7c1e63ff04220e530662d9a6e142f4f0e7247f
üst 78cd1a35
......@@ -205,13 +205,13 @@ sal_Bool SAL_CALL osl_getLocalTimeFromSystemTime( const TimeValue* pSystemTimeVa
#if defined(STRUCT_TM_HAS_GMTOFF)
/* members of struct tm are corrected by mktime */
bias = 0 - pLocalTime->tm_gmtoff;
bias = -pLocalTime->tm_gmtoff;
#elif defined(HAS_ALTZONE)
/* check if daylight saving time is in effect */
bias = pLocalTime->tm_isdst > 0 ? altzone : timezone;
#else
/* exspect daylight saving time to be one hour */
/* expect daylight saving time to be one hour */
bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment