* change result type of AddItem from integer to sw_integer

git-svn-id: trunk@13538 -
This commit is contained in:
florian 2009-08-15 21:02:22 +00:00
parent 965828b6de
commit e0cf3b0478

View File

@ -120,7 +120,7 @@ Type
TTopicLinkCollection = object(TStringCollection)
procedure Insert(Item: Pointer); virtual;
function At(Index: sw_Integer): PString;
function AddItem(Item: string): integer;
function AddItem(Item: string): sw_integer;
end;
function EncodeHTMLCtx(FileID: integer; LinkNo: word): longint;
@ -901,7 +901,7 @@ begin
At:=inherited At(Index);
end;
function TTopicLinkCollection.AddItem(Item: string): integer;
function TTopicLinkCollection.AddItem(Item: string): sw_integer;
var Idx: sw_integer;
begin
if Item='' then Idx:=-1 else