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:
maxim 2018-05-22 22:32:45 +00:00
parent 6d88044e80
commit ec056fba9f

View File

@ -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