TAChart: Less hints

git-svn-id: trunk@54096 -
This commit is contained in:
wp 2017-02-05 11:39:37 +00:00
parent a8d39ca0bf
commit d358020cf0
2 changed files with 1 additions and 5 deletions

View File

@ -331,10 +331,7 @@ begin
end;
procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont);
var
angle: Integer;
begin
angle := AFont.Orientation;
FFont.Name := AFont.Name;
FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size);
FFont.Color := AFont.FPColor;

View File

@ -346,7 +346,6 @@ procedure TMetafile.CopyToClipboard;
// http://www.olivierlanglois.net/metafile-clipboard.html
var
Format: Word;
Data: THandle;
begin
if FImageHandle = 0 then exit;
@ -354,7 +353,7 @@ begin
try
EmptyClipboard;
Format := CF_ENHMETAFILE;
SetClipboardData(Format, FImageHandle); //Data);
SetClipboardData(Format, FImageHandle);
finally
CloseClipboard;
end;