From 025892a86365fceda02ac1d05ace5632627c9fde Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 3 Jul 2020 10:14:36 +0000 Subject: [PATCH] fpreport: Fix from Pascal Riekenberg to fix rendering background with clNone, bug ID #36533 git-svn-id: branches/fixes_2_0@63491 - --- components/fpreport/fpreportlclexport.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fpreport/fpreportlclexport.pas b/components/fpreport/fpreportlclexport.pas index d3f7630454..d7ecc6e1e1 100644 --- a/components/fpreport/fpreportlclexport.pas +++ b/components/fpreport/fpreportlclexport.pas @@ -444,7 +444,7 @@ procedure TFPReportExportCanvas.RenderFrame(const ABand: TFPReportCustomBand; co const APos: TFPReportPoint; const AWidth, AHeight: TFPReportUnits); begin - RenderFrame(AFrame,CoordToRect(APos,AWidth,AHeight), RGBtoBGR(ABand.Frame.BackgroundColor)); + RenderFrame(AFrame,CoordToRect(APos,AWidth,AHeight), ABand.Frame.BackgroundColor); end; Type