summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-05 11:05:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-05 11:05:34 +0200
commitc55d5ef51a84716c9be69c13349439e552a3ed39 (patch)
tree1a4f22d11055f464b46a6b366a677ba2fd6601bb /desktop
parentDOCX export: handle all attributes of CT_TblLook (diff)
downloadcore-c55d5ef51a84716c9be69c13349439e552a3ed39.tar.gz
core-c55d5ef51a84716c9be69c13349439e552a3ed39.zip
Fix *_component_getFactory function type
Change-Id: I354cf9cfa5f1a749b01d16c93dbe7b86784a7d34
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/dp_services.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/source/deployment/dp_services.cxx b/desktop/source/deployment/dp_services.cxx
index 9850e418aa89..c38c0a4e592d 100644
--- a/desktop/source/deployment/dp_services.cxx
+++ b/desktop/source/deployment/dp_services.cxx
@@ -73,11 +73,13 @@ extern "C" {
SAL_DLLPUBLIC_EXPORT void * SAL_CALL deployment_component_getFactory(
sal_Char const * pImplName,
- lang::XMultiServiceFactory * pServiceManager,
- registry::XRegistryKey * pRegistryKey )
+ void * pServiceManager,
+ void * pRegistryKey )
{
return component_getFactoryHelper(
- pImplName, pServiceManager, pRegistryKey,
+ pImplName,
+ static_cast<css::lang::XMultiServiceFactory *>(pServiceManager),
+ static_cast<css::registry::XRegistryKey *>(pRegistryKey),
dp_registry::backend::configuration::serviceDecl,
dp_registry::backend::component::serviceDecl,
dp_registry::backend::help::serviceDecl,