mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 17:59:26 +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;
|
property Formats[Index: integer]: PPicFileFormat read GetFormats; default;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GetLocalizedFormatDescription(GraphicClass: TGraphicClass; OriginalDescription: string): string;
|
function GetLocalizedFormatDescription(const GraphicClass: TGraphicClass; const OriginalDescription: string): string;
|
||||||
begin
|
begin
|
||||||
case GraphicClass.ClassName of
|
case GraphicClass.ClassName of
|
||||||
'TPortableNetworkGraphic': Result:=rsPortableNetworkGraphic;
|
'TPortableNetworkGraphic': Result:=rsPortableNetworkGraphic;
|
||||||
|
Loading…
Reference in New Issue
Block a user