diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 90ba39fe7a09..feec3e9ede85 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -193,7 +193,7 @@ Sequence< OUString > BibliographyLoader::getSupportedServiceNames_Static(void) t extern "C" { SAL_DLLPUBLIC_EXPORT void * SAL_CALL bib_component_getFactory( - const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ ) + const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = 0; if (BibliographyLoader::getImplementationName_Static().equalsAscii( pImplName ) ) @@ -201,7 +201,7 @@ extern "C" // create the factory Reference< XSingleServiceFactory > xFactory = cppu::createSingleFactory( - pServiceManager, + static_cast<css::lang::XMultiServiceFactory *>(pServiceManager), BibliographyLoader::getImplementationName_Static(), BibliographyLoader_CreateInstance, BibliographyLoader::getSupportedServiceNames_Static() ); |