LazReport: fix color of exported text when the color is a system color

git-svn-id: trunk@52562 -
This commit is contained in:
jesus 2016-06-22 17:13:25 +00:00
parent ec0a83c728
commit a622f23dcd

View File

@ -488,7 +488,7 @@ begin
PRTLabel.FontSize := memo.Font.Size;
PRTLabel.FontBold := fsBold in memo.Font.Style;
PRTLabel.FontItalic := fsItalic in memo.Font.Style;
PRTLabel.FontColor := memo.Font.Color;
PRTLabel.FontColor := ColorToRGB(memo.Font.Color);
PRTLabel.FontUnderline := fsUnderline in memo.Font.Style;
PRTLabel.Angle:= memo.Angle;
PRTLabel.AlignJustified := memo.Justify and not memo.LastLine;