mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 16:39:31 +01:00
* Fixed access violation reported on Mailing list
git-svn-id: trunk@18793 -
This commit is contained in:
parent
61219c304d
commit
3355d5624b
@ -680,11 +680,13 @@ end;
|
|||||||
|
|
||||||
function TCustomPropertyStorage.ReadString(const Ident, DefaultValue: string): string;
|
function TCustomPropertyStorage.ReadString(const Ident, DefaultValue: string): string;
|
||||||
begin
|
begin
|
||||||
|
StorageNeeded(True);
|
||||||
Result := DoReadString(RootSection, Ident, DefaultValue);
|
Result := DoReadString(RootSection, Ident, DefaultValue);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomPropertyStorage.WriteString(const Ident, Value: string);
|
procedure TCustomPropertyStorage.WriteString(const Ident, Value: string);
|
||||||
begin
|
begin
|
||||||
|
StorageNeeded(False);
|
||||||
DoWriteString(RootSection, Ident, Value);
|
DoWriteString(RootSection, Ident, Value);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user