diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 16:06:40 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 16:06:40 +0200 |
commit | 5e575528521e01ea4ca61fce9aedc46ee9943999 (patch) | |
tree | db430a52ba83bcdb5c76485e9183d988a43eec51 /cppuhelper | |
parent | 5bba158e619053f532f07a8c82f081cc41fc805c (diff) |
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx | 6 | ||||
-rw-r--r-- | cppuhelper/test/cfg_test.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx index d013941a4..c1f3af984 100644 --- a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx +++ b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx @@ -416,18 +416,18 @@ cppu::ImplementationEntry entries[] = { } -extern "C" void * SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( char const * implName, void * serviceManager, void * registryKey) { return cppu::component_getFactoryHelper( implName, serviceManager, registryKey, entries); } -extern "C" void SAL_CALL component_getImplementationEnvironment( +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( char const ** envTypeName, uno_Environment **) { *envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppuhelper/test/cfg_test.cxx b/cppuhelper/test/cfg_test.cxx index 9f3d87971..3779fb72d 100644 --- a/cppuhelper/test/cfg_test.cxx +++ b/cppuhelper/test/cfg_test.cxx @@ -227,7 +227,7 @@ static struct ImplementationEntry g_entries[] = extern "C" { //================================================================================================== -void SAL_CALL component_getImplementationEnvironment( +SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; @@ -240,7 +240,7 @@ sal_Bool SAL_CALL component_writeInfo( pServiceManager, pRegistryKey, g_entries ); } //================================================================================================== -void * SAL_CALL component_getFactory( +SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { return component_getFactoryHelper( |