LCL: added const to GetLocalizedFormatDescription function parameters

(cherry picked from commit 0a0b688587)
This commit is contained in:
Maxim Ganetsky 2022-01-17 00:33:57 +03:00
parent f5629cffbb
commit e1581cc153

View File

@ -39,7 +39,7 @@ type
property Formats[Index: integer]: PPicFileFormat read GetFormats; default;
end;
function GetLocalizedFormatDescription(GraphicClass: TGraphicClass; OriginalDescription: string): string;
function GetLocalizedFormatDescription(const GraphicClass: TGraphicClass; const OriginalDescription: string): string;
begin
case GraphicClass.ClassName of
'TPortableNetworkGraphic': Result:=rsPortableNetworkGraphic;