diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-10 11:11:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-10 11:11:00 +0200 |
commit | d16bb62d226ede68899f14a2c037158d94c61620 (patch) | |
tree | 3d6a66bec8ec0f549c1318815658306d76aa1386 /connectivity/source/cpool/Zregistration.cxx | |
parent | use SimpleReferenceObject in vcl/osx module (diff) | |
download | core-d16bb62d226ede68899f14a2c037158d94c61620.tar.gz core-d16bb62d226ede68899f14a2c037158d94c61620.zip |
Fix function signature
Change-Id: Ia3cd228009792d2e5c2e3b74e740341bb0088867
Diffstat (limited to 'connectivity/source/cpool/Zregistration.cxx')
-rw-r--r-- | connectivity/source/cpool/Zregistration.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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<css::lang::XMultiServiceFactory *>( + _pServiceManager), OPoolCollection::getImplementationName_Static(), OPoolCollection::CreateInstance, OPoolCollection::getSupportedServiceNames_Static() |