summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-17 20:36:45 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-17 23:51:45 +0200
commit4b60da5d1d25b7cdef001dabac3bbd09d1686718 (patch)
tree169ae8f9c4f9060891b8ac9c1b9e0268bbaa886b /framework/inc
parentf3423eab7815827857149995e69d00c7b641282d (diff)
add more component prefixes
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/macros/debug/registration.hxx2
-rw-r--r--framework/inc/macros/registration.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/macros/debug/registration.hxx b/framework/inc/macros/debug/registration.hxx
index f12c380011d8..6dd24feba5fc 100644
--- a/framework/inc/macros/debug/registration.hxx
+++ b/framework/inc/macros/debug/registration.hxx
@@ -57,7 +57,7 @@
#define LOG_REGISTRATION_GETFACTORY( SINFOTEXT ) \
{ \
::rtl::OStringBuffer sOut( 1024 ); \
- sOut.append( "component_getFactory():" ); \
+ sOut.append( "fw?_component_getFactory():" ); \
sOut.append( SINFOTEXT ); \
WRITE_LOGFILE( LOGFILE_REGISTRATION, sOut.makeStringAndClear() ) \
}
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*/ ) \
{ \