diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 16:06:40 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 16:06:40 +0200 |
commit | 08d3fdffae241ccebb55add28a6bdee624b164f2 (patch) | |
tree | bf6ae56c20eb793e5f1d614f1246ff35a7c66450 /sal/test | |
parent | c776e24f16dd572d6e8f6ede79b460742708735e (diff) |
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'sal/test')
-rw-r--r-- | sal/test/unloading/samplelib1.cxx | 4 | ||||
-rw-r--r-- | sal/test/unloading/samplelib2.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx index a0557906f3dc..305ae0c23d48 100644 --- a/sal/test/unloading/samplelib1.cxx +++ b/sal/test/unloading/samplelib1.cxx @@ -136,7 +136,7 @@ static Reference<XInterface> SAL_CALL test4_createInstance(const Reference<XMult // Standard UNO library interface ------------------------------------------------- extern "C" { - void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv){ + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv){ *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } @@ -178,7 +178,7 @@ extern "C" { return sal_False; } - void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw() + SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw() { void * pRet = 0; diff --git a/sal/test/unloading/samplelib2.cxx b/sal/test/unloading/samplelib2.cxx index 348e2619646c..75150bb9c50a 100644 --- a/sal/test/unloading/samplelib2.cxx +++ b/sal/test/unloading/samplelib2.cxx @@ -126,7 +126,7 @@ static Reference<XInterface> SAL_CALL test23_createInstance(const Reference<XMul // Standard UNO library interface ------------------------------------------------- extern "C" { - void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv){ + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv){ *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } @@ -163,7 +163,7 @@ extern "C" { return sal_False; } - void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw() + SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw() { void * pRet = 0; |