* Fixed access violation reported on Mailing list

git-svn-id: trunk@18793 -
This commit is contained in:
michael 2009-02-22 14:48:27 +00:00
parent 61219c304d
commit 3355d5624b

View File

@ -680,11 +680,13 @@ end;
function TCustomPropertyStorage.ReadString(const Ident, DefaultValue: string): string;
begin
StorageNeeded(True);
Result := DoReadString(RootSection, Ident, DefaultValue);
end;
procedure TCustomPropertyStorage.WriteString(const Ident, Value: string);
begin
StorageNeeded(False);
DoWriteString(RootSection, Ident, Value);
end;