Changeset 154 for trunk/UAcronym.pas
- Timestamp:
- Oct 16, 2017, 3:44:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAcronym.pas
r152 r154 713 713 NewNode := Node.OwnerDocument.CreateElement('Ref'); 714 714 Node.AppendChild(NewNode); 715 NewNode.TextContent := IntToStr(TImportSource(Items[I]).Id);715 NewNode.TextContent := WideString(IntToStr(TImportSource(Items[I]).Id)); 716 716 end; 717 717 end; … … 725 725 Node2 := Node.FirstChild; 726 726 while Assigned(Node2) and (Node2.NodeName = 'Ref') do begin 727 if TryStrToInt( Node2.TextContent, Id) then begin727 if TryStrToInt(string(Node2.TextContent), Id) then begin 728 728 Source := AcronymDb.ImportSources.SearchById(Id); 729 729 if Assigned(Source) then begin … … 1228 1228 NewNode := Node.OwnerDocument.CreateElement('Ref'); 1229 1229 Node.AppendChild(NewNode); 1230 NewNode.TextContent := IntToStr(TAcronymCategory(Items[I]).Id);1230 NewNode.TextContent := WideString(IntToStr(TAcronymCategory(Items[I]).Id)); 1231 1231 end; 1232 1232 end; … … 1240 1240 Node2 := Node.FirstChild; 1241 1241 while Assigned(Node2) and (Node2.NodeName = 'Ref') do begin 1242 if TryStrToInt( Node2.TextContent, Id) then begin1242 if TryStrToInt(string(Node2.TextContent), Id) then begin 1243 1243 Category := Db.Categories.SearchById(Id); 1244 1244 if Assigned(Category) then begin
Note:
See TracChangeset
for help on using the changeset viewer.