Changeset 346


Ignore:
Timestamp:
Jun 2, 2009, 8:56:46 PM (16 years ago)
Author:
RBRi
Message:

fix stupid type cast error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/NewView/HelpFile.pas

    r342 r346  
    308308  FUNCTION TIndex.GetTopic(aPos: longint): TTopic;
    309309  begin
    310     result := TTopic(entries.Objects[aPos]);
     310    result := TIndexEntry(entries.Objects[aPos]).getTopic;
    311311  end;
    312312
     
    387387    ReadHeader;
    388388    ReadContents;
    389     // ReadIndex;
    390389    ReadDictionary;
    391390    ReadFontTableData;
     
    617616begin
    618617  if _Index = nil then
     618  begin
    619619    ReadIndex;
     620  end;
    620621  Result := _Index;
    621622end;
Note: See TracChangeset for help on using the changeset viewer.