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; end;
procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont); procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont);
var
angle: Integer;
begin begin
angle := AFont.Orientation;
FFont.Name := AFont.Name; FFont.Name := AFont.Name;
FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size); FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size);
FFont.Color := AFont.FPColor; FFont.Color := AFont.FPColor;

View File

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