浏览代码

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
(cherry picked from commit e10ee5ccb4febf9787280ccb1bd3026e804373e9)
ondrej 4 年之前
父节点
当前提交
e62556e7f1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 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;