https://bugs.documentfoundation.org/show_bug.cgi?id=55185

--- Comment #13 from [email protected] ---
Apparently the checkbox in the document is positioned in a way that makes the
line with the checkbox 1 twip larger than the line width, which seems to result
in an underflow loop in the layout code.

This might be a result of SwFieldFormCheckboxPortion::Format always returning
false, while other Format methods seem to return true if the portion doesn't
fit.

I've changed the return false statement in SwFieldFormCheckboxPortion::Format
to
return rInf.X() + Width() > rInf.Width()
and that seems to work, the document opens without hanging.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to