Changeset 25 for branches/lazarus/Common/UHtmlClasses.pas
- Timestamp:
- Sep 8, 2010, 8:34:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/lazarus/Common/UHtmlClasses.pas
r24 r25 146 146 implementation 147 147 148 resourcestring 149 SStringToIPConversionError = 'String to IP address conversion error'; 150 151 148 152 function LeftCutString(var Source, Output: string; Delimiter: string; Allowed: string = ''): Boolean; 149 153 var … … 225 229 Result := TXmlDocument.Create; 226 230 with Result, Content do begin 227 Formated := True;228 231 DocType := TXMlTag.Create; 229 232 DocType.Name := '!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"'; … … 380 383 // end else raise EConvertError.Create('String to IP address conversion error'); 381 384 except 382 raise EConvertError.Create( 'String to IP address conversion error');385 raise EConvertError.Create(SStringToIPConversionError); 383 386 end; 384 387 finally
Note:
See TracChangeset
for help on using the changeset viewer.