Deployment exception and how to solve them.
Stephan Bergmann
sbergman at redhat.com
Mon Sep 23 04:58:18 PDT 2013
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
More information about the LibreOffice
mailing list