In the Preview component
TPrintPreview v5.90
TPaperPreview v2.20
TThumbnailPreview v2.11
There are variables
iResX, iResY: Single;
in the procedure
procedure TGDIPlusSubset.Draw(Canvas: TCanvas; const Rect: TRect; Metafile: TMetafile);
when compiling with Delphi 2010, these raise a warning
[DCC Hint] Preview.pas(6703): H2164 Variable 'iResX' is declared but never used in 'TGDIPlusSubset.Draw'
[DCC Hint] Preview.pas(6703): H2164 Variable 'iResY' is declared but never used in 'TGDIPlusSubset.Draw'
I commented them out and it seems to be fine but wonder if they are there for a reason.