diff options
Diffstat (limited to 'io/source/connector')
-rw-r--r-- | io/source/connector/connector.component | 25 | ||||
-rw-r--r-- | io/source/connector/connector.cxx | 18 |
2 files changed, 1 insertions, 42 deletions
diff --git a/io/source/connector/connector.component b/io/source/connector/connector.component deleted file mode 100644 index 3e60b1802ca1..000000000000 --- a/io/source/connector/connector.component +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> - -<component loader="com.sun.star.loader.SharedLibrary" prefix="connector" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.comp.io.Connector"> - <service name="com.sun.star.connection.Connector"/> - </implementation> -</component> 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: */ |