Wrong copy paste in SwFieldFormCheckboxPortion::Format ?

Michael Stahl mst at libreoffice.org
Tue Nov 19 10:36:53 UTC 2019


On 19.11.19 11:22, Julien wrote:
> Hi Michael
> 
> There's no function "GetTextWidth" (or I missed it), so can't do this 
> assertion.

ah the code is actually:

	SetWidth( rInf.GetTextHeight(  ) );

so the checkbox doesn't have any size of its own, it just takes the 
height of the line... you are right, an assertion doesn't make sense here.


More information about the LibreOffice mailing list