summaryrefslogtreecommitdiff
path: root/stoc/test/excomp
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-04-21 16:06:40 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-04-21 16:06:40 +0200
commit5e575528521e01ea4ca61fce9aedc46ee9943999 (patch)
treedb430a52ba83bcdb5c76485e9183d988a43eec51 /stoc/test/excomp
parent5bba158e619053f532f07a8c82f081cc41fc805c (diff)
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'stoc/test/excomp')
-rw-r--r--stoc/test/excomp/excomp1.cxx4
-rw-r--r--stoc/test/excomp/excomp2.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/stoc/test/excomp/excomp1.cxx b/stoc/test/excomp/excomp1.cxx
index bcc985a6c..03c22f136 100644
--- a/stoc/test/excomp/excomp1.cxx
+++ b/stoc/test/excomp/excomp1.cxx
@@ -155,7 +155,7 @@ Reference<XInterface> SAL_CALL ExampleComponent1_CreateInstance( const Reference
extern "C"
{
//==================================================================================================
-void SAL_CALL component_getImplementationEnvironment(
+SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
@@ -189,7 +189,7 @@ sal_Bool SAL_CALL component_writeInfo(
return sal_False;
}
//==================================================================================================
-void * SAL_CALL component_getFactory(
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
{
void * pRet = 0;
diff --git a/stoc/test/excomp/excomp2.cxx b/stoc/test/excomp/excomp2.cxx
index 907fd2afd..43235ab67 100644
--- a/stoc/test/excomp/excomp2.cxx
+++ b/stoc/test/excomp/excomp2.cxx
@@ -226,7 +226,7 @@ Reference<XInterface> SAL_CALL ExampleComponent2_CreateInstance( const Reference
extern "C"
{
//==================================================================================================
-void SAL_CALL component_getImplementationEnvironment(
+SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
@@ -260,7 +260,7 @@ sal_Bool SAL_CALL component_writeInfo(
return sal_False;
}
//==================================================================================================
-void * SAL_CALL component_getFactory(
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
{
void * pRet = 0;