LazUtils: Remove test version of overridden InsertItem from TDictionaryStringList. It is called from FPC > 2.7.1. Solves issue #24964 although not the way it suggested.

git-svn-id: trunk@42649 -
This commit is contained in:
juha 2013-09-06 22:05:41 +00:00
parent eab977d2b3
commit 79ad84f848

View File

@ -40,7 +40,6 @@ type
FMap: TStringMap;
protected
procedure InsertItem(Index: Integer; const S: string); override;
procedure InsertItem({%H-}Index: Integer; const {%H-}S: string; {%H-}O: TObject); override;
public
constructor Create;
destructor Destroy; override;
@ -124,11 +123,6 @@ begin
FMap.Add(S); // Insert string to map, too.
end;
procedure TDictionaryStringList.InsertItem(Index: Integer; const S: string; O: TObject);
begin
raise Exception.Create('TDictionaryStringList.InsertItem: is this needed?');
end;
function TDictionaryStringList.Contains(const S: string): Boolean;
begin
Result := FMap.Contains(S);