lcl: formatting

git-svn-id: trunk@28442 -
This commit is contained in:
paul 2010-11-24 03:54:25 +00:00
parent 7c9336f367
commit dd2575c2e0

View File

@ -6248,14 +6248,14 @@ end;
function TWinControl.GetControlCount: Integer; function TWinControl.GetControlCount: Integer;
begin begin
if FControls <> nil then if FControls <> nil then
Result:=FControls.Count Result := FControls.Count
else else
Result:=0; Result := 0;
end; end;
function TWinControl.GetDockClientCount: Integer; function TWinControl.GetDockClientCount: Integer;
begin begin
if FDockClients<>nil then if FDockClients <> nil then
Result := FDockClients.Count Result := FDockClients.Count
else else
Result := 0; Result := 0;
@ -6263,7 +6263,7 @@ end;
function TWinControl.GetDockClients(Index: Integer): TControl; function TWinControl.GetDockClients(Index: Integer): TControl;
begin begin
if FDockClients<>nil then if FDockClients <> nil then
Result := TControl(FDockClients[Index]) Result := TControl(FDockClients[Index])
else else
Result := nil; Result := nil;