From aee436760e97f5f00e416713f8ee31f07681e2b1 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 27 Dec 2011 15:42:14 +0100 Subject: function component_canUnload is exported --- bridges/source/cpp_uno/shared/component.cxx | 2 +- bridges/source/jni_uno/jni_bridge.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bridges') 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 ); -- cgit v1.2.3