Kaydet (Commit) 0465a063 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix *_component_getFactory function type

Change-Id: I91b18d4a96d10070fb9e7be76ea39b07541fa4db
üst 4fbd7437
...@@ -378,11 +378,11 @@ BOOST_PP_REPEAT_FROM_TO(1, COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS, ...@@ -378,11 +378,11 @@ BOOST_PP_REPEAT_FROM_TO(1, COMPHELPER_SERVICEDECL_COMPONENT_HELPER_MAX_ARGS,
extern "C" \ extern "C" \
{ \ { \
SAL_DLLPUBLIC_EXPORT void* SAL_CALL compName##_component_getFactory( sal_Char const* pImplName, \ SAL_DLLPUBLIC_EXPORT void* SAL_CALL compName##_component_getFactory( sal_Char const* pImplName, \
::com::sun::star::lang::XMultiServiceFactory* pServiceManager, \ void* pServiceManager, \
::com::sun::star::registry::XRegistryKey* pRegistryKey ) \ void* pRegistryKey ) \
{ \ { \
return component_getFactoryHelper( pImplName, pServiceManager, \ return component_getFactoryHelper( pImplName, static_cast<css::lang::XMultiServiceFactory *>(pServiceManager), \
pRegistryKey, \ static_cast<css::registry::XRegistryKey *>(pRegistryKey), \
BOOST_PP_SEQ_ENUM(varargs_) ); \ BOOST_PP_SEQ_ENUM(varargs_) ); \
} \ } \
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment