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

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
            Version|unspecified                 |Inherited From OOo

--- Comment #1 from Mike Kaganski <[email protected]> ---
Almost definitely an integer overflow. 65536 twip is 115.6 cm; add 2 x 2 cm
margins, and you get 119.6 cm (and then, 120 cm - 119.6 cm gives the 4 mm).

A tentative code pointer: sal_uInt16 SwTextFormatInfo::Width() in
sw/source/core/text/inftxt.hxx (and many other cases of use of sal_uInt16 e.g.
in sw/source/core/text/itrform2.cxx).

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

Reply via email to