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 | 5e575528521e01ea4ca61fce9aedc46ee9943999 (patch) | |
tree | db430a52ba83bcdb5c76485e9183d988a43eec51 /sal/test | |
parent | 5bba158e619053f532f07a8c82f081cc41fc805c (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 5761e0ba9..2fb7a14ab 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 169990b94..40d37681d 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; |