Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.