diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 15:10:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 18:29:59 +0200 |
commit | e6c08b6b302b00cc55e9963ce47d6cc2416049a6 (patch) | |
tree | b9120fd4dd8e53a415fee0f2305699dc3f111a4d /include | |
parent | 91dd52bc54f59d9362f10988326839f8e7553e65 (diff) |
Remove unnecessary STATIC_LINK macro
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/svparser.hxx | 2 | ||||
-rw-r--r-- | include/tools/link.hxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index 43c7e0a6b330..8a9d1609a6fd 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -135,7 +135,7 @@ public: inline bool IsParserWorking() const { return SVPAR_WORKING == eState; } Link GetAsynchCallLink() const - { return STATIC_LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); } + { return LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); } long CallAsyncCallLink() { return NewDataRead( this, 0 ); } diff --git a/include/tools/link.hxx b/include/tools/link.hxx index b71b585ea8ca..e7116a02320e 100644 --- a/include/tools/link.hxx +++ b/include/tools/link.hxx @@ -72,8 +72,6 @@ typedef sal_IntPtr (*PSTUB)( void*, void* ); #define LINK( Inst, Class, Member ) \ Link( static_cast<Class*>(Inst), &Class::LinkStub##Member ) -#define STATIC_LINK( Inst, Class, Member ) LINK(Inst, Class, Member) - #define IMPL_LINK( Class, Method, ArgType, ArgName ) \ IMPL_STUB( Class, Method, ArgType ) \ sal_IntPtr Class::Method( ArgType ArgName ) |