monperrus / ExpandAnimations

LibreOffice/OpenOffice.org extension to expand animations before exporting to PDF. Looking for maintainers.
https://github.com/monperrus/ExpandAnimations
GNU Lesser General Public License v3.0
235 stars 31 forks source link

Add HasUnoInterfaces(effectNode, ENUMACCESS) before effectNode.create… #51

Closed pixelshot91 closed 3 years ago

pixelshot91 commented 4 years ago

…Enumeration() to prevent crash

Fix issue #4

I attached to the PR an example of file that trigger the bug. Should I put it in the test/ folder to prevent futur regression ? createEnumerationBug.odp.gz

I don't really understand how the macro works, I just know that theses two "if" fix the bug in my file :)

monperrus commented 4 years ago

Thanks for your contribution. LGTM later. Will merge unless somebody raises one's voice.

monperrus commented 3 years ago

Thanks @pixelshot91