* const added to size (record) Mantis #20653

git-svn-id: trunk@19620 -
This commit is contained in:
marco 2011-11-11 09:32:46 +00:00
parent a797a3a38a
commit 9324726374

View File

@ -294,7 +294,7 @@ function OffsetRect(var Rect : TRect;DX : Integer;DY : Integer) : Boolean;
function CenterPoint(const Rect: TRect): TPoint;
function InflateRect(var Rect: TRect; dx: Integer; dy: Integer): Boolean;
function Size(AWidth, AHeight: Integer): TSize;
function Size(ARect: TRect): TSize;
function Size(const ARect: TRect): TSize;
implementation
@ -460,7 +460,7 @@ begin
Result.cy := AHeight;
end;
function Size(ARect: TRect): TSize;
function Size(const ARect: TRect): TSize;
begin
Result.cx := ARect.Right - ARect.Left;
Result.cy := ARect.Bottom - ARect.Top;