mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 23:46:28 +02:00
LazUtils: Translations unit: do not try to initialize FHelperList on every call of TPOFile.UpdateItem. FHelperList is only used in TPOFile.SaveToStrings and initialized there.
git-svn-id: trunk@58005 -
This commit is contained in:
parent
6d88044e80
commit
ec056fba9f
@ -1505,9 +1505,6 @@ procedure TPOFile.UpdateItem(const Identifier: string; Original: string);
|
||||
var
|
||||
Item: TPOFileItem;
|
||||
begin
|
||||
if FHelperList=nil then
|
||||
FHelperList := TStringList.Create;
|
||||
|
||||
// try to find PO entry by identifier
|
||||
Item:=TPOFileItem(FIdentifierLowToItem[lowercase(Identifier)]);
|
||||
if Item<>nil then begin
|
||||
|
Loading…
Reference in New Issue
Block a user