Explorar o código

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
(cherry picked from commit e10ee5ccb4febf9787280ccb1bd3026e804373e9)
ondrej %!s(int64=4) %!d(string=hai) anos
pai
achega
e62556e7f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/objpas/sysutils/dati.inc

+ 1 - 1
rtl/objpas/sysutils/dati.inc

@@ -1531,5 +1531,5 @@ end;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 begin
   if not GetLocalTimeOffset(DateTime, Result) then
-    Result:=GetLocalTimeOffset;
+    Result:=GetLocalTimeOffset();
 end;