Fix metadata cloning.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4188 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa 2015-06-13 10:44:35 +00:00
parent 773295ba3e
commit 15a0e9c9c2

View File

@ -437,7 +437,6 @@ procedure CopyService(ASrcService,ADestService : PService);
ppSrc := ASrcOperation^.Params;
pp := ADstOperation^.Params;
for ii := 0 to Pred(cc) do begin
//CopyParam(@(ASrcOperation^.Params[ii]),@(pp[ii]));
CopyParam(ppSrc,pp);
Inc(ppSrc);
Inc(pp);
@ -459,7 +458,6 @@ begin
po := ADestService^.Operations;
poSrc := ASrcService^.Operations;
for j := 0 to Pred(k) do begin
//CopyOperation(@(ASrcService^.Operations[j]),@(po[j]));
CopyOperation(poSrc,po);
Inc(poSrc);
Inc(po);
@ -503,8 +501,9 @@ begin
ps := ADest^.Services;
psSrc := ASource^.Services;
for i := 0 to Pred(c) do begin
//CopyService(@(ASource^.Services[i]),@(ps[i]));
CopyService(psSrc,ps);
Inc(psSrc);
Inc(ps);
end;
end;
except