diff options
20 files changed, 20 insertions, 20 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 ); diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx index dd3f03ef8e26..19ed2e503754 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.cxx +++ b/cli_ure/source/uno_bridge/cli_bridge.cxx @@ -359,7 +359,7 @@ void SAL_CALL uno_ext_getMapping( //################################################################################################## -sal_Bool SAL_CALL component_canUnload( TimeValue * ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * ) SAL_THROW_EXTERN_C() { return true; diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx index 528a66e29337..8b8d2c2add94 100644 --- a/extensions/source/ole/servreg.cxx +++ b/extensions/source/ole/servreg.cxx @@ -118,7 +118,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( return pRet; } -extern "C" sal_Bool component_canUnload( TimeValue* libUnused) +extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused) { return globalModuleCount.canUnload( &globalModuleCount, libUnused); } diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx index 1aa85ba749a0..cab6ea8d64a2 100644 --- a/io/source/TextInputStream/TextInputStream.cxx +++ b/io/source/TextInputStream/TextInputStream.cxx @@ -498,7 +498,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx index 15e40ee36a1b..38cbf46a3604 100644 --- a/io/source/TextOutputStream/TextOutputStream.cxx +++ b/io/source/TextOutputStream/TextOutputStream.cxx @@ -295,7 +295,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index f703d2d668ce..d5dec6a0af8e 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -344,7 +344,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index e54000075b55..674fbbb358b4 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -255,7 +255,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/io/source/stm/factreg.cxx b/io/source/stm/factreg.cxx index b162a2363b59..e13dacd68852 100644 --- a/io/source/stm/factreg.cxx +++ b/io/source/stm/factreg.cxx @@ -97,7 +97,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx index f3abd3d125cc..13513b86e48a 100644 --- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx +++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx @@ -209,7 +209,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx index 3179d3c20672..e612a9ed1ba6 100644 --- a/sal/test/unloading/samplelib1.cxx +++ b/sal/test/unloading/samplelib1.cxx @@ -257,7 +257,7 @@ extern "C" { return pRet; } - sal_Bool component_canUnload( TimeValue* libUnused) + SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused) { return globalModuleCount.canUnload( &globalModuleCount, libUnused); } diff --git a/sal/test/unloading/samplelib2.cxx b/sal/test/unloading/samplelib2.cxx index b26c4a563c51..0cf7d564b61b 100644 --- a/sal/test/unloading/samplelib2.cxx +++ b/sal/test/unloading/samplelib2.cxx @@ -224,7 +224,7 @@ extern "C" { return pRet; } - sal_Bool component_canUnload( TimeValue* libUnused) + SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused) { return globalModuleCount.canUnload( &globalModuleCount, libUnused); } diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx index df8d9a963f43..f44989d34cf2 100644 --- a/sdext/source/presenter/PresenterComponent.cxx +++ b/sdext/source/presenter/PresenterComponent.cxx @@ -112,7 +112,7 @@ static struct ImplementationEntry gServiceEntries[] = extern "C" { - sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/stoc/source/bootstrap/services.cxx b/stoc/source/bootstrap/services.cxx index 2b8c9f81a9e4..e92acad12494 100644 --- a/stoc/source/bootstrap/services.cxx +++ b/stoc/source/bootstrap/services.cxx @@ -119,7 +119,7 @@ extern "C" { #ifndef IOS -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index 3fae228b7d06..eb35840b1642 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -473,7 +473,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index fa034e63521f..9051aec8a2e7 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -1214,7 +1214,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx index 1501ef401219..39c713a54e5d 100644 --- a/stoc/source/invocation_adapterfactory/iafactory.cxx +++ b/stoc/source/invocation_adapterfactory/iafactory.cxx @@ -981,7 +981,7 @@ static struct ::cppu::ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return ::stoc_invadp::g_moduleCount.canUnload( diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx index d94087972a58..2fbdac03cb92 100644 --- a/stoc/source/namingservice/namingservice.cxx +++ b/stoc/source/namingservice/namingservice.cxx @@ -205,7 +205,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx index aab09d88de93..3606be1bd019 100644 --- a/stoc/source/proxy_factory/proxyfac.cxx +++ b/stoc/source/proxy_factory/proxyfac.cxx @@ -514,7 +514,7 @@ static ::cppu::ImplementationEntry g_entries [] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue * pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue * pTime ) { return g_moduleCount.canUnload( &g_moduleCount, pTime ); } diff --git a/stoc/source/stocservices/stocservices.cxx b/stoc/source/stocservices/stocservices.cxx index 2990e4abe03f..89d034ad143c 100644 --- a/stoc/source/stocservices/stocservices.cxx +++ b/stoc/source/stocservices/stocservices.cxx @@ -88,7 +88,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { -sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } |