mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 11:01:20 +02:00
SqlDb: formatting
git-svn-id: trunk@39222 -
This commit is contained in:
parent
761837a477
commit
edbe2280e7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user