summaryrefslogtreecommitdiff
path: root/ure
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
commit08d3fdffae241ccebb55add28a6bdee624b164f2 (patch)
treebf6ae56c20eb793e5f1d614f1246ff35a7c66450 /ure
parentc776e24f16dd572d6e8f6ede79b460742708735e (diff)
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'ure')
-rw-r--r--ure/source/uretest/cppmain.cc4
-rw-r--r--ure/source/uretest/cppserver.cc4
-rw-r--r--ure/source/uretest/cpptest.cc4
3 files changed, 6 insertions, 6 deletions
diff --git a/ure/source/uretest/cppmain.cc b/ure/source/uretest/cppmain.cc
index 307ffaef29e4..ee2ca081488c 100644
--- a/ure/source/uretest/cppmain.cc
+++ b/ure/source/uretest/cppmain.cc
@@ -259,14 +259,14 @@ extern "C" ::sal_Bool SAL_CALL component_writeInfo(
serviceManager, registryKey, entries);
}
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
char const * implName, void * serviceManager, void * registryKey)
{
return ::cppu::component_getFactoryHelper(
implName, serviceManager, registryKey, entries);
}
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
char const ** envTypeName, ::uno_Environment **)
{
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
diff --git a/ure/source/uretest/cppserver.cc b/ure/source/uretest/cppserver.cc
index e4e72e3933c7..68fe22e1fb19 100644
--- a/ure/source/uretest/cppserver.cc
+++ b/ure/source/uretest/cppserver.cc
@@ -111,14 +111,14 @@ extern "C" ::sal_Bool SAL_CALL component_writeInfo(
serviceManager, registryKey, entries);
}
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
char const * implName, void * serviceManager, void * registryKey)
{
return ::cppu::component_getFactoryHelper(
implName, serviceManager, registryKey, entries);
}
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
char const ** envTypeName, ::uno_Environment **)
{
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
diff --git a/ure/source/uretest/cpptest.cc b/ure/source/uretest/cpptest.cc
index c93050bd836b..9f2c40af19c8 100644
--- a/ure/source/uretest/cpptest.cc
+++ b/ure/source/uretest/cpptest.cc
@@ -111,14 +111,14 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(
serviceManager, registryKey, entries);
}
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
char const * implName, void * serviceManager, void * registryKey)
{
return cppu::component_getFactoryHelper(
implName, serviceManager, registryKey, entries);
}
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
char const ** envTypeName, uno_Environment **)
{
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;