mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
LCL: added const to GetLocalizedFormatDescription function parameters
(cherry picked from commit 0a0b688587
)
This commit is contained in:
parent
f5629cffbb
commit
e1581cc153
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user