diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-04-20 14:31:20 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-04-20 14:31:20 +0200 |
commit | d5d6fd656c29b81c7e7d9c3ce21573ed6681ffae (patch) | |
tree | d4d608389fb3ba37510ce6531dcf027e9dd69e57 /sdext | |
parent | duplicate NULLs (diff) | |
download | core-d5d6fd656c29b81c7e7d9c3ce21573ed6681ffae.tar.gz core-d5d6fd656c29b81c7e7d9c3ce21573ed6681ffae.zip |
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/pppoptimizeruno.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/services.cxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterComponent.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/minimizer/pppoptimizeruno.cxx b/sdext/source/minimizer/pppoptimizeruno.cxx index bb126e7ceb98..b99e4ced8d67 100644 --- a/sdext/source/minimizer/pppoptimizeruno.cxx +++ b/sdext/source/minimizer/pppoptimizeruno.cxx @@ -44,7 +44,7 @@ using namespace ::com::sun::star::registry; extern "C" { - void SAL_CALL component_getImplementationEnvironment( + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; @@ -87,7 +87,7 @@ extern "C" // ------------------------------------------------------------------------- - void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) + SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { OUString aImplName( OUString::createFromAscii( pImplName ) ); void* pRet = 0; diff --git a/sdext/source/pdfimport/services.cxx b/sdext/source/pdfimport/services.cxx index 7b1d28d108a3..90f9e6eb6aeb 100644 --- a/sdext/source/pdfimport/services.cxx +++ b/sdext/source/pdfimport/services.cxx @@ -83,7 +83,7 @@ namespace } } -extern "C" void SAL_CALL component_getImplementationEnvironment( +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char **ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; @@ -155,7 +155,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, voi return sal_True; } -extern "C" void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* /*pServiceManager*/, void* /*pRegistryKey*/ ) { ::rtl::OUString sImplementationName( ::rtl::OUString::createFromAscii( pImplementationName ) ); diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx index 6fd91438d64e..f4b109d2d326 100644 --- a/sdext/source/presenter/PresenterComponent.cxx +++ b/sdext/source/presenter/PresenterComponent.cxx @@ -122,7 +122,7 @@ extern "C" - void SAL_CALL component_getImplementationEnvironment( + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; @@ -140,7 +140,7 @@ extern "C" - void * SAL_CALL component_getFactory( + SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); |