diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-24 18:13:56 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-24 20:30:38 +0200 |
commit | 9a906437fc4f1c20a1420009cfa5d9fceacc51a4 (patch) | |
tree | 985d91660f7f268c0223cfb652ccd1981b248936 /tools | |
parent | 2c1b80254db7b63534c874354bf2673adbac2c43 (diff) |
Remove some unused macros
Change-Id: If3774a188da001ec38c2f24ffe260e006f9f76d7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/rtti.hxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/inc/tools/rtti.hxx b/tools/inc/tools/rtti.hxx index 7f279f15c9ae..ee7fe301400d 100644 --- a/tools/inc/tools/rtti.hxx +++ b/tools/inc/tools/rtti.hxx @@ -63,8 +63,6 @@ typedef void* (*TypeId)(); //------------------------------------------------------------------------- -#define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0) - #define SUPERTYPE(sSuper) \ if ( sSuper::IsOf(aSameOrSuperType ) ) \ return sal_True @@ -115,31 +113,6 @@ typedef void* (*TypeId)(); #define CREATE(TypeId) (TypeId()) //------------------------------------------------------------------------- -// On-Demand-faehige persistent-TypeId Version - -#define TYPEINIT_ID(sType) \ - TypeId sType::Type() const { return StaticType(); } \ - sal_Bool sType::IsOf( TypeId aSameOrSuperType ) \ - { \ - if ( aSameOrSuperType == StaticType() ) \ - return sal_True - -#define TYPEINIT0_ID(sType) \ - TYPEINIT_ID(sType); \ - TYPEINIT_END(sType) - -#define TYPEINIT1_ID(sType, sSuper) \ - TYPEINIT_ID(sType); \ - SUPERTYPE(sSuper); \ - TYPEINIT_END(sType) - -#define TYPEINIT2_ID(sType, sSuper1, sSuper2) \ - TYPEINIT_ID(sType); \ - SUPERTYPE(sSuper1); \ - SUPERTYPE(sSuper2); \ - TYPEINIT_END(sType) - -//------------------------------------------------------------------------- // Die (exemplarischen) Makros fuer die Anwendung ( hier fuer // Pointer, kann aber nach dem gleichen Strickmuster fuer |