Procházet zdrojové kódy

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
ondrej před 5 roky
rodič
revize
e10ee5ccb4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      rtl/objpas/sysutils/dati.inc

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

@@ -1534,7 +1534,7 @@ end;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 begin
 begin
   if not GetLocalTimeOffset(DateTime, Result) then
   if not GetLocalTimeOffset(DateTime, Result) then
-    Result:=GetLocalTimeOffset;
+    Result:=GetLocalTimeOffset();
 end;
 end;
 
 
 { Conversion of UTC to local time and vice versa }
 { Conversion of UTC to local time and vice versa }