[Bug 167538] An empty final line of a paragraph, created by a hard line break, has no line number with line numbering activated

2025-07-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167538

Mike Kaganski  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Assignee|[email protected] |[email protected]
   |desktop.org |
 Status|UNCONFIRMED |ASSIGNED

--- Comment #2 from Mike Kaganski  ---
https://gerrit.libreoffice.org/c/core/+/188016

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 167538] An empty final line of a paragraph, created by a hard line break, has no line number with line numbering activated

2025-07-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167538

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=16
   ||7540

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 167538] An empty final line of a paragraph, created by a hard line break, has no line number with line numbering activated

2025-07-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167538

--- Comment #1 from Mike Kaganski  ---
The problem is, that the empty paragraph line is considered a "dummy"; it is
decided in SwLineLayout::CalcLine, and checked in SwTextFrame::PaintExtraData.

There is a similar check in SwTextFormatter::CalcRealHeight; there, it accounts
for trailing line created in the end of a paragraph by a line break.

-- 
You are receiving this mail because:
You are the assignee for the bug.