summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-05 20:31:29 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-05 20:31:47 +0200
commitc04c2114d9159646dddd4807d026c9fee6953817 (patch)
tree27c9530336ed5cc6652ee6147ff175875e4c6a64 /framework
parenta76dac1fb62823c357ad8f2bd789483b7ea7badd (diff)
Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/macros/generic.hxx4
-rw-r--r--framework/inc/macros/xserviceinfo.hxx13
2 files changed, 0 insertions, 17 deletions
diff --git a/framework/inc/macros/generic.hxx b/framework/inc/macros/generic.hxx
index 01169a32adaa..f30487c003db 100644
--- a/framework/inc/macros/generic.hxx
+++ b/framework/inc/macros/generic.hxx
@@ -52,7 +52,6 @@ ________________________________________________________________________________
/*_________________________________________________________________________________________________________________
U2B( SUNICODEVALUE )
- B2U( SASCIIVALUE )
Use it to convert unicode strings to ascii values and reverse ...
We use UTF8 as default textencoding.
@@ -61,9 +60,6 @@ ________________________________________________________________________________
#define U2B( SUNICODEVALUE ) \
::rtl::OUStringToOString( SUNICODEVALUE, RTL_TEXTENCODING_UTF8 )
-#define B2U( SASCIIVALUE ) \
- ::rtl::OStringToOUString( SASCIIVALUE, RTL_TEXTENCODING_UTF8 )
-
#endif // #ifndef __FRAMEWORK_MACROS_GENERIC_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx
index 85f3f85c958b..341e167a3dc9 100644
--- a/framework/inc/macros/xserviceinfo.hxx
+++ b/framework/inc/macros/xserviceinfo.hxx
@@ -241,10 +241,6 @@ ________________________________________________________________________________
PRIVATE_DEFINE_XSERVICEINFO_NEWSTYLE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) \
PRIVATE_DEFINE_SINGLEFACTORY( CLASS )
-#define DEFINE_XSERVICEINFO_ONEINSTANCESERVICE_2( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) \
- PRIVATE_DEFINE_XSERVICEINFO_NEWSTYLE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) \
- PRIVATE_DEFINE_ONEINSTANCEFACTORY( CLASS )
-
//*****************************************************************************************************************
// public
// implementation of service initialize!
@@ -263,15 +259,6 @@ ________________________________________________________________________________
FUNCTIONBODY \
}
-#define DEFINE_INIT_SERVICE_WITH_BASECLASS( CLASS, BASECLASS, FUNCTIONBODY ) \
- void SAL_CALL CLASS::impl_initService() \
- { \
- BASECLASS::impl_initService(); \
- { \
- FUNCTIONBODY \
- } \
- }
-
} // namespace framework
#endif // #ifndef __FRAMEWORK_MACROS_XSERVICEINFO_HXX_