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

--- Comment #12 from Aron Budea <[email protected]> ---
Turns out the empty chart is still supposed to have the axes and markers, too.

The original regression is likely from this commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70
author          Michael Meeks <[email protected]>  2012-10-09 12:22:23
+0100
committer       Michael Meeks <[email protected]>  2012-11-06 11:58:16
+0000
commit  44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 (patch)
tree    cfca2fb5cd4676d7d55648fe11105753c2178d5d
parent  eff92f2501cf070cd912508b2ccc3c0108d0327c (diff)
"re-base on ALv2 code. Includes (at least) relevant parts of:"

In particular:
"fix for #118525#: Using primitives for chart sub-geometry visualisation"
http://svn.apache.org/viewvc?view=revision&revision=1226879

Proposed patch: https://gerrit.libreoffice.org/71361/

The problem is that sizes are converted to tools::Rectangle, and 0 size becomes
a special RECT_EMPTY value (-32767). This -32767 value isn't converted back,
and the chart area instead of spanning from [0, 0] to [16000, 9000] becomes
spanning from [-32767, -32767] to [16000, 9000].

A straightforward place to fix it would be in SvxShape::getSize(), but that
isn't enough in itself, the area size still remains incorrect.

Instead, the above patch is a small workaround to make empty labels have 1x1
size.

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