Kaydet (Commit) 37785dde authored tarafından Rafael Dominguez's avatar Rafael Dominguez Kaydeden (comit) Caolán McNamara

Remove unused macros.

üst 1190a20a
...@@ -63,7 +63,6 @@ typedef void* (*TypeId)(); ...@@ -63,7 +63,6 @@ typedef void* (*TypeId)();
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#define TYPEINIT_AUTOFACTORY(sType) TYPEINIT_FACTORY(sType, new sType)
#define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0) #define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0)
#define SUPERTYPE(sSuper) \ #define SUPERTYPE(sSuper) \
...@@ -107,8 +106,6 @@ typedef void* (*TypeId)(); ...@@ -107,8 +106,6 @@ typedef void* (*TypeId)();
SUPERTYPE(sSuper2); \ SUPERTYPE(sSuper2); \
SUPERTYPE(sSuper3); \ SUPERTYPE(sSuper3); \
TYPEINIT_END(sType) TYPEINIT_END(sType)
#define TYPEINIT3_AUTOFACTORY(sType, sSuper1, sSuper2, sSuper3) \
TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, new sType)
#define TYPEINIT3(sType, sSuper1, sSuper2, sSuper3) \ #define TYPEINIT3(sType, sSuper1, sSuper2, sSuper3) \
TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, 0) TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, 0)
...@@ -120,12 +117,6 @@ typedef void* (*TypeId)(); ...@@ -120,12 +117,6 @@ typedef void* (*TypeId)();
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// On-Demand-faehige persistent-TypeId Version // On-Demand-faehige persistent-TypeId Version
#define TYPEINFO_ID(id) \
static TypeId StaticType() { return (TypeId) ( id | 0xF000000L ); } \
static sal_Bool IsOf( TypeId aSameOrSuperType ); \
virtual TypeId Type() const; \
virtual sal_Bool IsA( TypeId aSameOrSuperType ) const
#define TYPEINIT_ID(sType) \ #define TYPEINIT_ID(sType) \
TypeId sType::Type() const { return StaticType(); } \ TypeId sType::Type() const { return StaticType(); } \
sal_Bool sType::IsOf( TypeId aSameOrSuperType ) \ sal_Bool sType::IsOf( TypeId aSameOrSuperType ) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment