summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-08 13:25:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-08 13:25:23 +0200
commit0465a063b99c50c04dcd7616c17a5d946053c7de (patch)
treeda5cb24eaf67f68428b1d289fce768c2f1bac554
parentCleanup OUStrings in CustomShapes (diff)
downloadcore-0465a063b99c50c04dcd7616c17a5d946053c7de.tar.gz
core-0465a063b99c50c04dcd7616c17a5d946053c7de.zip
Fix *_component_getFactory function type
Change-Id: I91b18d4a96d10070fb9e7be76ea39b07541fa4db
-rw-r--r--include/comphelper/servicedecl.hxx8
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_) ); \
} \
}