Commit bfe307d6 authored by Jesus's avatar Jesus
Browse files

LazReport, fix image exporter filename, from willians cleyton, issue #27986

git-svn-id: trunk@48888 -
parent 28089b25
......@@ -12,7 +12,7 @@ unit LR_e_img;
interface
uses
Classes, SysUtils, LR_Class, Graphics;
Classes, SysUtils, LR_Class, Graphics, LazUtf8Classes;
type
TfrImageExport = class(TComponent)
......@@ -47,7 +47,7 @@ implementation
constructor TfrImageExportFilter.Create(AStream: TStream);
begin
inherited Create(AStream);
FFileName := TFileStream(AStream).FileName;
FFileName := TFileStreamUtf8(AStream).FileName;
FFileExt := LowerCase(ExtractFileExt(FFileName));
FFileName := ChangeFileExt(FFileName, '');
FZoom := 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment