tools/inc/tools/rtti.hxx | 27 --------------------------- 1 file changed, 27 deletions(-)
New commits: commit 9a906437fc4f1c20a1420009cfa5d9fceacc51a4 Author: Thomas Arnhold <[email protected]> Date: Sun Jun 24 18:13:56 2012 +0200 Remove some unused macros Change-Id: If3774a188da001ec38c2f24ffe260e006f9f76d7 diff --git a/tools/inc/tools/rtti.hxx b/tools/inc/tools/rtti.hxx index 7f279f1..ee7fe30 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
