Changeset 154 for trunk/UAcronym.pas


Ignore:
Timestamp:
Oct 16, 2017, 3:44:47 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Settings dialog buttons position on form resize.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UAcronym.pas

    r152 r154  
    713713    NewNode := Node.OwnerDocument.CreateElement('Ref');
    714714    Node.AppendChild(NewNode);
    715     NewNode.TextContent := IntToStr(TImportSource(Items[I]).Id);
     715    NewNode.TextContent := WideString(IntToStr(TImportSource(Items[I]).Id));
    716716  end;
    717717end;
     
    725725  Node2 := Node.FirstChild;
    726726  while Assigned(Node2) and (Node2.NodeName = 'Ref') do begin
    727     if TryStrToInt(Node2.TextContent, Id) then begin
     727    if TryStrToInt(string(Node2.TextContent), Id) then begin
    728728      Source := AcronymDb.ImportSources.SearchById(Id);
    729729      if Assigned(Source) then begin
     
    12281228    NewNode := Node.OwnerDocument.CreateElement('Ref');
    12291229    Node.AppendChild(NewNode);
    1230     NewNode.TextContent := IntToStr(TAcronymCategory(Items[I]).Id);
     1230    NewNode.TextContent := WideString(IntToStr(TAcronymCategory(Items[I]).Id));
    12311231  end;
    12321232end;
     
    12401240  Node2 := Node.FirstChild;
    12411241  while Assigned(Node2) and (Node2.NodeName = 'Ref') do begin
    1242     if TryStrToInt(Node2.TextContent, Id) then begin
     1242    if TryStrToInt(string(Node2.TextContent), Id) then begin
    12431243      Category := Db.Categories.SearchById(Id);
    12441244      if Assigned(Category) then begin
Note: See TracChangeset for help on using the changeset viewer.