Unittest problem with service com.sun.star.drawing.GraphicExportFilter
rb.henschel at t-online.de
Tue Oct 25 16:24:39 UTC 2022
this is about https://gerrit.libreoffice.org/c/core/+/141830
tdf#83671 SmartArt: preserve pos and size for metafile
If you try the patch, you will see, that the SmartArt is imported in
Calc as group object with one child object. The child is a
"com.sun.star.drawing.GraphicObjectShape". Copying to Draw shows, that
it is indeed a metafile. So the patch seems to be correct.
But the unit test fails. It has the warning
message: "component context fails to supply service
com.sun.star.drawing.GraphicExportFilter of type
The warning comes from method create() from class GraphicExportFilter,
where creating of "the_instance" fails. And so indeed no metafile is
I have no idea about the reason as in a normal running LO the import
works and resaving as ods or xlsx has no problems.
Could you please help me?
More information about the LibreOffice