On 09/23/2013 12:48 PM, Andres Gomez wrote:
Just now I'm working in a unit test for
"sw/CppunitTest_sw_ooxmlimport.mk" in which I'm adding the request for a
"GraphicExportFilter" which results in the "Deployment Exception":

"component context fails to supply service com.sun.star.drawing.GraphicExportFilter 
of type com.sun.star.drawing.XGraphicExportFilter"

I've added "graphicfilter" to the "_use_library" section and also the
following component to the "_use_component" section:

"filter/source/graphic/graphicfilter"

But the Deployment Exception has not disappeared.

Any tip on how to solve this problem?

"git grep -Flw com.sun.star.drawing.GraphicExportFilter -- \*.component" shows that that service is registered in svx/util/svx.component, so you need to add svx/util/svx to the gb_CppunitTest_use_components list.

Stephan
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to