<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - cannot insert image in sheet with large row height"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139722#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - cannot insert image in sheet with large row height"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139722">bug 139722</a>
from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>