summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-12-27 15:42:14 +0100
committerDavid Tardon <dtardon@redhat.com>2011-12-27 15:44:42 +0100
commitaee436760e97f5f00e416713f8ee31f07681e2b1 (patch)
tree5f90b88af3bb2939e22a6547cb8d28fa80c426fe /bridges/source
parent3a38a8514ab33f9d8b174000ca635db949c16940 (diff)
function component_canUnload is exported
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/shared/component.cxx2
-rw-r--r--bridges/source/jni_uno/jni_bridge.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index 7577fefd1345..c40c4515179f 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -197,7 +197,7 @@ static void SAL_CALL environmentDisposing( uno_Environment * ) SAL_THROW( () )
#ifndef IOS
-sal_Bool SAL_CALL component_canUnload(TimeValue * pTime) SAL_THROW_EXTERN_C() {
+SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload(TimeValue * pTime) SAL_THROW_EXTERN_C() {
return bridges::cpp_uno::shared::g_moduleCount.canUnload(
&bridges::cpp_uno::shared::g_moduleCount, pTime);
}
diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx
index 170ba8d69b0c..3fee956d4b93 100644
--- a/bridges/source/jni_uno/jni_bridge.cxx
+++ b/bridges/source/jni_uno/jni_bridge.cxx
@@ -561,7 +561,7 @@ void SAL_CALL uno_ext_getMapping(
}
//------------------------------------------------------------------------------
-sal_Bool SAL_CALL component_canUnload( TimeValue * pTime )
+SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * pTime )
SAL_THROW_EXTERN_C()
{
return (*g_moduleCount.canUnload)( &g_moduleCount, pTime );