diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-11-04 13:06:32 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-05 01:02:13 -0600 |
commit | 3a009c427fc04c0a1a100f5f04516cedd1f6f118 (patch) | |
tree | 9fc79e32d41ee9b1f47ae579a7773736dec8ee0e /io/source/connector/connector.cxx | |
parent | 5cf62a6ab450c25eb07a1ec08c857f17f674ef67 (diff) |
fdo#60698: Merge all libs of io...
creating the libio. All these libraries are always used together, so we can put them
together in one single library.
This save almost 500 kb of the size of the final library.
Change-Id: Ib32fec36cc4eb80ca646ce472c1f1bcdd98ac62b
Reviewed-on: https://gerrit.libreoffice.org/6567
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'io/source/connector/connector.cxx')
-rw-r--r-- | io/source/connector/connector.cxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 966a2b6f5f60..b697483a5482 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/connection/XConnector.hpp> +#include "services.hxx" #include "connector.hxx" #define IMPLEMENTATION_NAME "com.sun.star.comp.io.Connector" @@ -208,22 +209,5 @@ namespace stoc_connector } -using namespace stoc_connector; - -static const struct ImplementationEntry g_entries[] = -{ - { - connector_CreateInstance, connector_getImplementationName , - connector_getSupportedServiceNames, createSingleComponentFactory , - 0, 0 - }, - { 0, 0, 0, 0, 0, 0 } -}; - -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL connector_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) -{ - return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |