[Libreoffice-commits] .: 2 commits - bridges/source cli_ure/source extensions/source io/source remotebridges/source sal/test sdext/source stoc/source

David Tardon dtardon at kemper.freedesktop.org
Tue Dec 27 06:45:41 PST 2011


 bridges/source/cpp_uno/shared/component.cxx              |    2 +-
 bridges/source/jni_uno/jni_bridge.cxx                    |    2 +-
 cli_ure/source/uno_bridge/cli_bridge.cxx                 |    2 +-
 extensions/source/ole/servreg.cxx                        |    2 +-
 io/source/TextInputStream/TextInputStream.cxx            |    2 +-
 io/source/TextOutputStream/TextOutputStream.cxx          |    2 +-
 io/source/acceptor/acceptor.cxx                          |    2 +-
 io/source/connector/connector.cxx                        |    2 +-
 io/source/stm/factreg.cxx                                |    2 +-
 remotebridges/source/unourl_resolver/unourl_resolver.cxx |    2 +-
 sal/test/unloading/samplelib1.cxx                        |    2 +-
 sal/test/unloading/samplelib2.cxx                        |    2 +-
 sdext/source/presenter/PresenterComponent.cxx            |    2 +-
 stoc/source/bootstrap/services.cxx                       |    2 +-
 stoc/source/corereflection/crefl.cxx                     |    2 +-
 stoc/source/invocation/invocation.cxx                    |    2 +-
 stoc/source/invocation_adapterfactory/iafactory.cxx      |    2 +-
 stoc/source/namingservice/namingservice.cxx              |    2 +-
 stoc/source/proxy_factory/proxyfac.cxx                   |    2 +-
 stoc/source/stocservices/stocservices.cxx                |    2 +-
 20 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit ac6b7001773a76a210b26a1f2231c1ff5f06e91c
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 27 15:43:29 2011 +0100

    function component_canUnload is SAL_CALL

diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx
index 8b8d2c2..c7ebaa8 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_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
+extern "C"  SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue* libUnused)
 {
     return globalModuleCount.canUnload( &globalModuleCount, libUnused);
 }
diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx
index e612a9e..78835cd 100644
--- a/sal/test/unloading/samplelib1.cxx
+++ b/sal/test/unloading/samplelib1.cxx
@@ -257,7 +257,7 @@ extern "C" {
         return pRet;
     }
 
-    SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
+    SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue* libUnused)
     {
         return globalModuleCount.canUnload( &globalModuleCount, libUnused);
     }
diff --git a/sal/test/unloading/samplelib2.cxx b/sal/test/unloading/samplelib2.cxx
index 0cf7d56..142472a 100644
--- a/sal/test/unloading/samplelib2.cxx
+++ b/sal/test/unloading/samplelib2.cxx
@@ -224,7 +224,7 @@ extern "C" {
         return pRet;
     }
 
-    SAL_DLLPUBLIC_EXPORT sal_Bool component_canUnload( TimeValue* libUnused)
+    SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue* libUnused)
     {
         return globalModuleCount.canUnload( &globalModuleCount, libUnused);
     }
commit aee436760e97f5f00e416713f8ee31f07681e2b1
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 27 15:42:14 2011 +0100

    function component_canUnload is exported

diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index 7577fef..c40c451 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 170ba8d..3fee956 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 dd3f03e..19ed2e5 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 528a66e..8b8d2c2 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 1aa85ba..cab6ea8 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 15e40ee..38cbf46 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 f703d2d..d5dec6a 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 e540000..674fbbb 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 b162a23..e13dacd 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 f3abd3d..13513b8 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 3179d3c..e612a9e 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 b26c4a5..0cf7d56 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 df8d9a9..f44989d 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 2b8c9f8..e92acad 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 3fae228..eb35840 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 fa034e6..9051aec 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 1501ef4..39c713a 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 d940879..2fbdac0 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 aab09d8..3606be1 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 2990e4a..89d034a 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 );
 }


More information about the Libreoffice-commits mailing list