mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-17 12:39:34 +02:00
lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50302 -
This commit is contained in:
parent
e926976aa9
commit
84975022d6
@ -1476,8 +1476,7 @@ begin
|
||||
WideStr := QtDC.Metrics.elidedText(WideStr, QtElideRight, Right - Left, 0);
|
||||
end;
|
||||
|
||||
with ARect do
|
||||
QtDC.DrawText(Left + Pt.X, Top + Pt.Y, Right-Left, Bottom-Top, F, @WideStr);
|
||||
QtDC.DrawText(ARect.Left + Pt.X, ARect.Top + Pt.Y, ARect.Right-ARect.Left, ARect.Bottom-ARect.Top, F, @WideStr);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user