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

--- Comment #1 from Regina Henschel <[email protected]> ---
The error comes in this way (values as I see them in VS when loading the file):

On loading the file:
ScTable::SetDrawPageSize calculates (with considering row height and column
width)
tools::Long x = 8191217
tools::Long y = 3146121216
Then it builds Size(x,y) and calls ScDrawLayer::SetPageSize
That makes pPage->SetSize(), which is a call to Sdr::SetSize()
And there are assignments
mnWidth = aSiz.Width();
mnHeight = aSiz.Height();
But the members mnWidth and mnHeight are of type sal_Int32.
That results in mnHeight = -1148846080.

And this negative page height is used in ScLimitSizeOnDrawPage in fuins1.cxx,
when the image is inserted and gives the wrong pos and size of the image.

A fix is beyond my current skills.

-- 
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