tdf#137335 sw whitespace lineheight: revert bHasBlankPortion
This was changed in 25.2 to mean only a space portion, but that altered some existing logic so that a HolePortion is no longer considered a blankPortion. This reverting patch is only based on a code read. I don't have evidence that it causes problems, but I see no reason for the change based on the logic of the rest of the commit. Change-Id: I2c2210682a191e4efba0f301a6ae83330d91d932 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205134 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
This commit is contained in:
@@ -365,10 +365,10 @@ void SwLineLayout::CalcLine( SwTextFormatter &rLine, SwTextFormatInfo &rInf )
|
||||
{
|
||||
nSpacePortionHeight = pPos->Height();
|
||||
}
|
||||
bHasBlankPortion = true;
|
||||
}
|
||||
bTmpDummy &= !pPos->InTabGrp();
|
||||
pPos = pPos->GetNextPortion();
|
||||
bHasBlankPortion = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user