diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-08 13:25:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-08 13:25:23 +0200 |
commit | 0465a063b99c50c04dcd7616c17a5d946053c7de (patch) | |
tree | da5cb24eaf67f68428b1d289fce768c2f1bac554 /include/comphelper | |
parent | 4fbd7437b1436706014acec3bcd2c200805f0f92 (diff) |
Fix *_component_getFactory function type
Change-Id: I91b18d4a96d10070fb9e7be76ea39b07541fa4db
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/servicedecl.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/servicedecl.hxx b/include/comphelper/servicedecl.hxx index 436bb74e8a2c..499bcbc353a0 100644 --- a/include/comphelper/servicedecl.hxx +++ b/include/comphelper/servicedecl.hxx @@ -378,11 +378,11 @@ 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, \ - ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, \ - ::com::sun::star::registry::XRegistryKey* pRegistryKey ) \ + void* pServiceManager, \ + void* pRegistryKey ) \ { \ - return component_getFactoryHelper( pImplName, pServiceManager, \ - pRegistryKey, \ + return component_getFactoryHelper( pImplName, static_cast<css::lang::XMultiServiceFactory *>(pServiceManager), \ + static_cast<css::registry::XRegistryKey *>(pRegistryKey), \ BOOST_PP_SEQ_ENUM(varargs_) ); \ } \ } |