From c04c2114d9159646dddd4807d026c9fee6953817 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 5 Aug 2012 20:31:29 +0200 Subject: Remove unused macros Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2 --- tools/inc/tools/link.hxx | 3 --- tools/inc/tools/pstm.hxx | 4 ---- tools/inc/tools/ref.hxx | 7 ------- tools/inc/tools/string.hxx | 5 ----- 4 files changed, 19 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/link.hxx b/tools/inc/tools/link.hxx index fe1da4be351e..0a7475b0d2ab 100644 --- a/tools/inc/tools/link.hxx +++ b/tools/inc/tools/link.hxx @@ -44,9 +44,6 @@ typedef long (*PSTUB)( void*, void* ); #define DECL_DLLPRIVATE_STATIC_LINK(Class, Method, ArgType) \ SAL_DLLPRIVATE static long Method(Class *, ArgType) -#define IMPL_METHOD( Class, Method, ArgType, ArgName ) \ - long Class::Method( ArgType ArgName ) - #define IMPL_STUB(Class, Method, ArgType) \ long Class::LinkStub##Method( void* pThis, void* pCaller) \ { \ diff --git a/tools/inc/tools/pstm.hxx b/tools/inc/tools/pstm.hxx index c54e864b2bd1..c313b6b2dbf7 100644 --- a/tools/inc/tools/pstm.hxx +++ b/tools/inc/tools/pstm.hxx @@ -86,10 +86,6 @@ SV_DECL_IMPL_REF(SvRttiBase) return rStm; \ } -#define SV_IMPL_PERSIST( Class ) \ - TYPEINIT0( Class ) \ - PRV_SV_IMPL_PERSIST( Class ) - #define SV_IMPL_PERSIST1( Class, Super1 ) \ TYPEINIT1( Class, Super1 ) \ PRV_SV_IMPL_PERSIST( Class ) diff --git a/tools/inc/tools/ref.hxx b/tools/inc/tools/ref.hxx index b34d724effd2..157cb4be57a9 100644 --- a/tools/inc/tools/ref.hxx +++ b/tools/inc/tools/ref.hxx @@ -322,13 +322,6 @@ inline void ClassName##MemberList::Append( const ClassName##MemberList & rL inline sal_uIntPtr ClassName##MemberList::GetPos( const EntryName p) const\ {return BaseList::GetPos( p );} -#define SV_DECL_MEMBER_LIST(ClassName,EntryName)\ -class ClassName##MemberList : public SvRefBaseMemberList\ -{\ -public:\ - PRV_SV_DECL_MEMBER_LIST(ClassName,EntryName)\ -}; - /************************** S v R e f B a s e ****************************/ #define SV_NO_DELETE_REFCOUNT 0x80000000 class TOOLS_DLLPUBLIC SvRefBase diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index d1768bc6b97a..e070fb59afc4 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -53,11 +53,6 @@ class UniString; #define BYTESTRING_TO_UNISTRING_CVTFLAGS (RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_MAPTOPRIVATE |\ RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_DEFAULT |\ RTL_TEXTTOUNICODE_FLAGS_INVALID_DEFAULT) -#define UNISTRING_TO_BYTESTRING_CVTFLAGS (RTL_UNICODETOTEXT_FLAGS_UNDEFINED_DEFAULT |\ - RTL_UNICODETOTEXT_FLAGS_INVALID_DEFAULT |\ - RTL_UNICODETOTEXT_FLAGS_UNDEFINED_REPLACE |\ - RTL_UNICODETOTEXT_FLAGS_PRIVATE_MAPTO0 |\ - RTL_UNICODETOTEXT_FLAGS_NOCOMPOSITE) // ----------------------------------------------------------------------- -- cgit