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

Fix function signature

Change-Id: Ia3cd228009792d2e5c2e3b74e740341bb0088867
üst 4789eab6
...@@ -34,7 +34,7 @@ extern "C" ...@@ -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; void* pRet = NULL;
...@@ -42,7 +42,8 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbpool2_component_getFactory(const sal_Char* ...@@ -42,7 +42,8 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL dbpool2_component_getFactory(const sal_Char*
{ {
Reference< XSingleServiceFactory > xFactory( Reference< XSingleServiceFactory > xFactory(
::cppu::createOneInstanceFactory( ::cppu::createOneInstanceFactory(
_pServiceManager, static_cast<css::lang::XMultiServiceFactory *>(
_pServiceManager),
OPoolCollection::getImplementationName_Static(), OPoolCollection::getImplementationName_Static(),
OPoolCollection::CreateInstance, OPoolCollection::CreateInstance,
OPoolCollection::getSupportedServiceNames_Static() OPoolCollection::getSupportedServiceNames_Static()
......
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