diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 15:14:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 18:29:59 +0200 |
commit | 17cb3391ece392497eeff4ed32cbf89b4bcb5825 (patch) | |
tree | 1d14e0c4b072a6424bdda9b6bfe2de1442f036fa | |
parent | e6c08b6b302b00cc55e9963ce47d6cc2416049a6 (diff) |
Remove unnecessary IMPL_LINK_INLINE macro
Change-Id: I81cbec049b98d2d2619b0480e0cf54bd1d7b6718
-rw-r--r-- | basic/source/runtime/ddectrl.cxx | 3 | ||||
-rw-r--r-- | include/tools/link.hxx | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx index 4f7e208d33c6..9f7149cf332d 100644 --- a/basic/source/runtime/ddectrl.cxx +++ b/basic/source/runtime/ddectrl.cxx @@ -67,12 +67,11 @@ SbError SbiDdeControl::GetLastErr( DdeConnection* pConv ) return nDdeErrMap[ 2 * (nErr - DDE_FIRSTERR) + 1 ]; } -IMPL_LINK_INLINE( SbiDdeControl,Data , DdeData*, pData, +IMPL_LINK( SbiDdeControl,Data , DdeData*, pData ) { aData = OUString::createFromAscii( static_cast<const char*>((const void*)*pData) ); return 1; } -) SbiDdeControl::SbiDdeControl() { diff --git a/include/tools/link.hxx b/include/tools/link.hxx index e7116a02320e..ea3a3668997c 100644 --- a/include/tools/link.hxx +++ b/include/tools/link.hxx @@ -92,11 +92,6 @@ typedef sal_IntPtr (*PSTUB)( void*, void* ); #define IMPL_LINK_NOARG_INLINE_END( Class, Method ) \ IMPL_STUB( Class, Method, void* ) -#define IMPL_LINK_INLINE( Class, Method, ArgType, ArgName, Body ) \ - sal_IntPtr Class::Method( ArgType ArgName ) \ - Body \ - IMPL_STUB( Class, Method, ArgType ) - #define EMPTYARG class TOOLS_DLLPUBLIC Link |