[Libreoffice-bugs] [Bug 122325] FILEOPEN PPTX shape with direct values in arcTo command is not rendered

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 25 23:39:14 UTC 2018


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

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
Created attachment 147822
  --> https://bugs.documentfoundation.org/attachment.cgi?id=147822&action=edit
suspicious lines

custoomshapeproperties.cxx lines 240 and 2241 look very suspicious to me. If I
comment them out, the shape is rendered correctly.

If the viewBox is forced to width=0 and height=0 here, the members nCoordWidthG
and nCoordHeightG will become zero too by ApplyShapeAttributes() later on. And
thus members nCoordWidth and nCoordHeight become zero too in
EnhancedCustomShape2d::SetPathSize() in EnhancedCustomShape2d.cxx.

But I'm not familiar with pptx import and cannot estimate, whether such change
would break something in other areas.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181225/fcb7e2d3/attachment.html>


More information about the Libreoffice-bugs mailing list