sal/osl/unx/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b440845b9f04fdf498caf3bcdcc52ffc8c489639 Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Fri Jul 5 17:55:30 2013 +0200 janitorial / stylistic Change-Id: I8e7c1e63ff04220e530662d9a6e142f4f0e7247f diff --git a/sal/osl/unx/time.c b/sal/osl/unx/time.c index 24947b1..38e8f36 100644 --- a/sal/osl/unx/time.c +++ b/sal/osl/unx/time.c @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits