From 645dac2f9434d70d4aa393bac899b9984f533b20 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 19 Dec 2013 12:16:09 +0100 Subject: Deduplicate more components. No one says this is the only good classification. Quite possibly it's not even a good one, but at least something. Change-Id: I81178314222f9f63708a83b262ff8ef73a1d9467 --- include/osl/detail/component-mapping.h | 37 +++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'include/osl') diff --git a/include/osl/detail/component-mapping.h b/include/osl/detail/component-mapping.h index 0ab4280d5ace..95625fcf9e52 100644 --- a/include/osl/detail/component-mapping.h +++ b/include/osl/detail/component-mapping.h @@ -83,6 +83,25 @@ const lib_to_constructor_mapping *lo_get_constructor_map(void); { "libxoflo.a", xof_component_getFactory }, \ { "libxstor.a", xstor_component_getFactory }, \ +#define LO_EXTENDED_CORE_FACTORY_MAP \ + LO_CORE_FACTORY_MAP \ + { "libanimcorelo.a", animcore_component_getFactory }, \ + { "libavmedialo.a", avmedia_component_getFactory }, \ + { "libchartcorelo.a", chartcore_component_getFactory }, \ + { "libfilterconfiglo.a", filterconfig1_component_getFactory }, \ + { "libfrmlo.a", frm_component_getFactory }, \ + { "libfwklo.a", fwk_component_getFactory }, \ + { "libfwmlo.a", fwm_component_getFactory }, \ + { "libsvxcorelo.a", svxcore_component_getFactory }, \ + { "libtextfdlo.a", textfd_component_getFactory }, + { "libtklo.a", tk_component_getFactory }, \ + { "libucppkg1.a", ucppkg1_component_getFactory }, \ + { "libxmlfdlo.a", xmlfd_component_getFactory }, \ + +#define LO_BASE_CORE_FACTORY_MAP \ + { "libdbalo.a", dba_component_getFactory }, \ + { "libdbaxmllo.a", dbaxml_component_getFactory }, \ + #define LO_CALC_CORE_FACTORY_MAP \ { "libscdlo.a", scd_component_getFactory }, \ { "libscfiltlo.a", scfilt_component_getFactory }, \ @@ -94,11 +113,27 @@ const lib_to_constructor_mapping *lo_get_constructor_map(void); { "libdatelo.a", date_component_getFactory }, \ { "libpricinglo.a", pricing_component_getFactory }, \ -#define LO_WRITER_FACTORY_MAP \ +#define LO_DRAW_CORE_FACTORY_MAP \ + { "libsddlo.a", sdd_component_getFactory }, \ + { "libsdlo.a", sd_component_getFactory }, \ + { "libsvgfilterlo.a", svgfilter_component_getFactory }, \ + { "libwpftdrawlo.a", wpftdraw_component_getFactory }, \ + +#define LO_MATH_FACTORY_MAP \ + { "libsmdlo.a", smd_component_getFactory }, \ + { "libsmlo.a", sm_component_getFactory }, \ + +#define LO_WRITER_CORE_FACTORY_MAP \ { "libswdlo.a", swd_component_getFactory }, \ { "libswlo.a", sw_component_getFactory }, \ { "libwriterfilterlo.a", writerfilter_component_getFactory }, \ +#define LO_WRITER_FACTORY_MAP \ + LO_WRITER_CORE_FACTORY_MAP \ + { "libhwplo.a", hwp_component_getFactory }, \ + { "libt602filterlo.a", t602filter_component_getFactory }, \ + { "libwpftwriterlo.a", wpftwriter_component_getFactory }, \ + #define NON_APP_SPECIFIC_CONSTRUCTOR_MAP \ { "com_sun_star_comp_extensions_xml_sax_ParserExpat", com_sun_star_comp_extensions_xml_sax_ParserExpat }, \ { "com_sun_star_comp_extensions_xml_sax_FastParser", com_sun_star_comp_extensions_xml_sax_FastParser }, \ -- cgit