summaryrefslogtreecommitdiffstats
path: root/framework/inc/macros/registration.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/macros/registration.hxx')
-rw-r--r--framework/inc/macros/registration.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx
index 94815f726b75..e4a3b785df13 100644
--- a/framework/inc/macros/registration.hxx
+++ b/framework/inc/macros/registration.hxx
@@ -57,7 +57,7 @@
Please use follow public macros only!
IFFACTORY( CLASS ) => use it as parameter for COMPONENT_GETFACTORY( IFFACTORIES )
- COMPONENTGETFACTORY( IFFACTORIES ) => use it to define exported function component_getFactory()
+ COMPONENTGETFACTORY( LIB, IFFACTORIES ) => use it to define exported function LIB_component_getFactory()
_________________________________________________________________________________________________________________*/
@@ -80,8 +80,8 @@ ________________________________________________________________________________
// public
// define method to instanciate new services
//*****************************************************************************************************************
-#define COMPONENTGETFACTORY( IFFACTORIES ) \
- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName , \
+#define COMPONENTGETFACTORY( LIB, IFFACTORIES ) \
+ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL LIB##_component_getFactory( const sal_Char* pImplementationName, \
void* pServiceManager , \
void* /*pRegistryKey*/ ) \
{ \