diff options
-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 |