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:
Justin Luth
2026-05-13 13:46:13 +02:00
parent f94b09d6a4
commit 2caf18d3a8
+1 -1
View File
@@ -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;
}
}