diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-05 20:31:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-05 20:31:47 +0200 |
commit | c04c2114d9159646dddd4807d026c9fee6953817 (patch) | |
tree | 27c9530336ed5cc6652ee6147ff175875e4c6a64 /UnoControls | |
parent | a76dac1fb62823c357ad8f2bd789483b7ea7badd (diff) |
Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/base/registercontrols.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/UnoControls/source/base/registercontrols.cxx b/UnoControls/source/base/registercontrols.cxx index 5389f3e639bd..50dd26c279b5 100644 --- a/UnoControls/source/base/registercontrols.cxx +++ b/UnoControls/source/base/registercontrols.cxx @@ -67,18 +67,6 @@ using namespace ::com::sun::star::registry ; } //****************************************************************************************************************************** -#define CREATEFACTORY_ONEINSTANCE(CLASS) \ - \ - /* Create right factory ... */ \ - xFactory = Reference< XSingleServiceFactory > \ - ( \ - cppu::createOneInstanceFactory ( xServiceManager , \ - CLASS::impl_getStaticImplementationName () , \ - CLASS##_createInstance , \ - CLASS::impl_getStaticSupportedServiceNames () ) \ - ) ; \ - -//****************************************************************************************************************************** #define CREATEFACTORY_SINGLE(CLASS) \ \ /* Create right factory ... */ \ @@ -91,14 +79,6 @@ using namespace ::com::sun::star::registry ; ) ; \ //****************************************************************************************************************************** -#define IF_NAME_CREATECOMPONENTFACTORY_ONEINSTANCE(CLASS) \ - \ - if ( CLASS::impl_getStaticImplementationName().equals( OUString::createFromAscii( pImplementationName ) ) ) \ - { \ - CREATEFACTORY_ONEINSTANCE ( CLASS ) \ - } - -//****************************************************************************************************************************** #define IF_NAME_CREATECOMPONENTFACTORY_SINGLE(CLASS) \ \ if ( CLASS::impl_getStaticImplementationName().equals( OUString::createFromAscii( pImplementationName ) ) ) \ |