From b052d080fd068f7ba1ba71a086ed0dcbc24299ef Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsralph@gmail.com>
Date: Sat, 10 Dec 2011 14:42:29 -0430
Subject: [PATCH 2/3] Remove unused macros.
---
tools/inc/tools/rtti.hxx | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/tools/inc/tools/rtti.hxx b/tools/inc/tools/rtti.hxx
index 34f14c5..7f279f1 100644
--- a/tools/inc/tools/rtti.hxx
+++ b/tools/inc/tools/rtti.hxx
@@ -63,7 +63,6 @@ typedef void* (*TypeId)();
//-------------------------------------------------------------------------
-#define TYPEINIT_AUTOFACTORY(sType) TYPEINIT_FACTORY(sType, new sType)
#define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0)
#define SUPERTYPE(sSuper) \
@@ -107,8 +106,6 @@ typedef void* (*TypeId)();
SUPERTYPE(sSuper2); \
SUPERTYPE(sSuper3); \
TYPEINIT_END(sType)
-#define TYPEINIT3_AUTOFACTORY(sType, sSuper1, sSuper2, sSuper3) \
- TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, new sType)
#define TYPEINIT3(sType, sSuper1, sSuper2, sSuper3) \
TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, 0)
@@ -120,12 +117,6 @@ typedef void* (*TypeId)();
//-------------------------------------------------------------------------
// 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) \
TypeId sType::Type() const { return StaticType(); } \
sal_Bool sType::IsOf( TypeId aSameOrSuperType ) \
--
1.7.3.4
Context
- [Libreoffice] [PATCH] Remove unused macro in tools/rtti.hxx · Rafael Dominguez
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.