diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:05:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:06:01 +0100 |
commit | ea0bb58d98b651599dabf9a93f9568f46c3baeb1 (patch) | |
tree | 6a340850ddf9d4c8161c688b49873635ed29483e /include | |
parent | 83853b9c86ee867f743b6b1827c6eb6b3a5c21d5 (diff) |
Drop unused comphelper::service_decl::component_getFactoryHelper params
Change-Id: Ia47c0bc3539ddf8f925cd053a2431c742c46d337
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/servicedecl.hxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/comphelper/servicedecl.hxx b/include/comphelper/servicedecl.hxx index 0b1eb22fcbfe..69c640305907 100644 --- a/include/comphelper/servicedecl.hxx +++ b/include/comphelper/servicedecl.hxx @@ -23,8 +23,6 @@ #include <cppuhelper/implbase1.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/registry/XRegistryKey.hpp> #include <uno/environment.h> #include <boost/utility.hpp> #include <boost/function.hpp> @@ -313,8 +311,6 @@ struct class_ : public serviceimpl_base< detail::ServiceImpl<ImplT_>, WithArgsT <pre> inline void * component_getFactoryHelper( sal_Char const* pImplName, - ::com::sun::star::lang::XMultiServiceFactory *, - ::com::sun::star::registry::XRegistryKey * xRegistryKey, ServiceDecl const& s0, ServiceDecl const& s1, ... ); </pre> @@ -326,8 +322,6 @@ struct class_ : public serviceimpl_base< detail::ServiceImpl<ImplT_>, WithArgsT #define COMPHELPER_SERVICEDECL_make(z_, n_, unused_) \ inline void * component_getFactoryHelper( \ sal_Char const* pImplName, \ - ::com::sun::star::lang::XMultiServiceFactory *, \ - ::com::sun::star::registry::XRegistryKey *, \ BOOST_PP_ENUM_PARAMS(n_, ServiceDecl const& s) ) \ { \ void * pRet = 0; \ @@ -379,11 +373,9 @@ BOOST_PP_REPEAT_FROM_TO(1, COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS, extern "C" \ { \ SAL_DLLPUBLIC_EXPORT void* SAL_CALL compName##_component_getFactory( sal_Char const* pImplName, \ - void* pServiceManager, \ - void* pRegistryKey ) \ + void*, void* ) \ { \ - return component_getFactoryHelper( pImplName, static_cast<css::lang::XMultiServiceFactory *>(pServiceManager), \ - static_cast<css::registry::XRegistryKey *>(pRegistryKey), \ + return component_getFactoryHelper( pImplName, \ BOOST_PP_SEQ_ENUM(varargs_) ); \ } \ } |