From d16bb62d226ede68899f14a2c037158d94c61620 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 10 Jul 2014 11:11:00 +0200 Subject: Fix function signature Change-Id: Ia3cd228009792d2e5c2e3b74e740341bb0088867 --- connectivity/source/cpool/Zregistration.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/cpool/Zregistration.cxx b/connectivity/source/cpool/Zregistration.cxx index c10ce441ccce..8367c970ed0f 100644 --- a/connectivity/source/cpool/Zregistration.cxx +++ b/connectivity/source/cpool/Zregistration.cxx @@ -34,7 +34,7 @@ extern "C" { -SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbpool2_component_getFactory(const sal_Char* _pImplName, ::com::sun::star::lang::XMultiServiceFactory* _pServiceManager, void* /*_pRegistryKey*/) +SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbpool2_component_getFactory(const sal_Char* _pImplName, void * _pServiceManager, void* /*_pRegistryKey*/) { void* pRet = NULL; @@ -42,7 +42,8 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbpool2_component_getFactory(const sal_Char* { Reference< XSingleServiceFactory > xFactory( ::cppu::createOneInstanceFactory( - _pServiceManager, + static_cast( + _pServiceManager), OPoolCollection::getImplementationName_Static(), OPoolCollection::CreateInstance, OPoolCollection::getSupportedServiceNames_Static() -- cgit