loplugin:salcall (Extension_test-{active,passive})

Change-Id: I4cb850a4ceb44dfe2807afe38f3fa131e6590932
This commit is contained in:
Stephan Bergmann 2018-02-13 14:41:47 +01:00
parent 495ad1e211
commit 3c9c9c54e1
2 changed files with 5 additions and 5 deletions

View file

@ -234,21 +234,21 @@ static cppu::ImplementationEntry const services[] = {
}
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
extern "C" SAL_DLLPUBLIC_EXPORT void * component_getFactory(
char const * pImplName, void * pServiceManager, void * pRegistryKey)
{
return cppu::component_getFactoryHelper(
pImplName, pServiceManager, pRegistryKey, services);
}
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL
extern "C" SAL_DLLPUBLIC_EXPORT void
component_getImplementationEnvironment(
char const ** ppEnvTypeName, uno_Environment **)
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool component_writeInfo(
void * pServiceManager, void * pRegistryKey)
{
if (!component_writeInfoHelper(pServiceManager, pRegistryKey, services)) {

View file

@ -231,14 +231,14 @@ static cppu::ImplementationEntry const services[] = {
}
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
extern "C" SAL_DLLPUBLIC_EXPORT void * component_getFactory(
char const * pImplName, void * pServiceManager, void * pRegistryKey)
{
return cppu::component_getFactoryHelper(
pImplName, pServiceManager, pRegistryKey, services);
}
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL
extern "C" SAL_DLLPUBLIC_EXPORT void
component_getImplementationEnvironment(
char const ** ppEnvTypeName, uno_Environment **)
{