LazReport, unconditionally stretch stretchable objects, fix issue #20988

git-svn-id: trunk@36041 -
This commit is contained in:
jesus 2012-03-15 21:13:35 +00:00
parent ca4c12556c
commit 7be38e8951

View File

@ -5374,12 +5374,10 @@ begin
if Stretched then
begin
sh := CalculatedHeight;
// sh := CalcHeight;
{$IFDEF DebugLR}
DebugLn('Height=%d CalculatedHeight=%d',[dy,sh]);
{$ENDIF}
if sh > dy then
StretchObjects(sh);
StretchObjects(sh);
maxdy := sh;
if not PageBreak then
CheckPageBreak(y, sh, False);