Ignore:
Timestamp:
Dec 21, 2009, 1:19:39 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Třída TWebServer oddělena do samostatné jednotky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DirectWeb/UXMLClasses.pas

    r90 r91  
    7070  I: Integer;
    7171begin
    72   Attributes.Free;
    73   for I := 0 to SubElements.Count - 1 do TXmlElement(SubElements[I]).Free;
    74   SubElements.Free;
     72  Attributes.Destroy;
     73  for I := 0 to SubElements.Count - 1 do
     74    TXmlElement(SubElements[I]).Destroy;
     75  SubElements.Destroy;
    7576  inherited;
    7677end;
     
    116117begin
    117118  inherited;
    118   Encoding := 'windows-1250';
     119  Encoding := 'utf-8';
    119120  XmlVersion := '1.0';
    120121  MainTag := TXmlTag.Create;
     
    123124    EndTagSymbol := '?';
    124125    Attributes.Add('version=1.0');
    125     Attributes.Add('encoding=windows-1250');
     126    Attributes.Add('encoding=utf-8');
    126127  end;
    127128  Content := TXmlTag.Create;
     
    130131destructor TXmlDocument.Destroy;
    131132begin
    132   Content.Free;
    133   MainTag.Free;
     133  Content.Destroy;
     134  MainTag.Destroy;
    134135  inherited;
    135136end;
Note: See TracChangeset for help on using the changeset viewer.