diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-05 20:31:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-05 20:31:47 +0200 |
commit | c04c2114d9159646dddd4807d026c9fee6953817 (patch) | |
tree | 27c9530336ed5cc6652ee6147ff175875e4c6a64 /tools/inc | |
parent | a76dac1fb62823c357ad8f2bd789483b7ea7badd (diff) |
Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
Diffstat (limited to 'tools/inc')
-rw-r--r-- | tools/inc/tools/link.hxx | 3 | ||||
-rw-r--r-- | tools/inc/tools/pstm.hxx | 4 | ||||
-rw-r--r-- | tools/inc/tools/ref.hxx | 7 | ||||
-rw-r--r-- | tools/inc/tools/string.hxx | 5 |
4 files changed, 0 insertions, 19 deletions
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) // ----------------------------------------------------------------------- |