SqlDb: formatting

git-svn-id: trunk@39222 -
This commit is contained in:
juha 2012-11-01 19:35:42 +00:00
parent 761837a477
commit edbe2280e7

View File

@ -246,9 +246,7 @@ begin
Result := [paMultiSelect, paSortList, paValueList, paRevertable]; Result := [paMultiSelect, paSortList, paValueList, paRevertable];
end; end;
procedure TSQLDBConnectorTypePropertyEditor.GetValues( procedure TSQLDBConnectorTypePropertyEditor.GetValues(Proc: TGetStrProc);
Proc: TGetStrProc);
Var Var
L : TStringList; L : TStringList;
I : Integer; I : Integer;
@ -257,7 +255,7 @@ begin
try try
GetConnectionList(L); GetConnectionList(L);
for I:=0 to L.Count-1 do for I:=0 to L.Count-1 do
Proc(L[i]); Proc(L[i]);
finally finally
L.Free; L.Free;
end; end;
@ -388,8 +386,7 @@ begin
IDEMessagesWindow.AddMsg(SourceFileName+' : '+Msg,'',0,Nil); IDEMessagesWindow.AddMsg(SourceFileName+' : '+Msg,'',0,Nil);
end; end;
procedure TSQLSyntaxChecker.ShowMessage(const Fmt: String; procedure TSQLSyntaxChecker.ShowMessage(const Fmt: String; Args: array of const);
Args: array of const);
begin begin
ShowMessage(Format(Fmt,Args)); ShowMessage(Format(Fmt,Args));
end; end;
@ -517,8 +514,7 @@ begin
Result:=SSQLScriptDesc; Result:=SSQLScriptDesc;
end; end;
function TSQLFileDescriptor.GetResourceSource(const ResourceName: string function TSQLFileDescriptor.GetResourceSource(const ResourceName: string): string;
): string;
begin begin
Result:=''; Result:='';
end; end;