diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 17:05:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 18:29:59 +0200 |
commit | 0acd47f68e3efb46dafd866ee95497da818fa34f (patch) | |
tree | e7bc16002983079713868dd91478d24aac6cfed3 /basic | |
parent | 17cb3391ece392497eeff4ed32cbf89b4bcb5825 (diff) |
Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/END
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline
Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/inputbox.cxx | 6 | ||||
-rw-r--r-- | basic/source/runtime/iosys.cxx | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index 97208770c0a1..0e942fc5555c 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -129,7 +129,7 @@ void SvRTLInputBox::PositionPrompt(const OUString& rPrompt,const Size& rDlgSize) } -IMPL_LINK_INLINE_START( SvRTLInputBox, OkHdl, Button *, pButton ) +IMPL_LINK( SvRTLInputBox, OkHdl, Button *, pButton ) { (void)pButton; @@ -137,9 +137,8 @@ IMPL_LINK_INLINE_START( SvRTLInputBox, OkHdl, Button *, pButton ) EndDialog( 1 ); return 0; } -IMPL_LINK_INLINE_END( SvRTLInputBox, OkHdl, Button *, pButton ) -IMPL_LINK_INLINE_START( SvRTLInputBox, CancelHdl, Button *, pButton ) +IMPL_LINK( SvRTLInputBox, CancelHdl, Button *, pButton ) { (void)pButton; @@ -147,7 +146,6 @@ IMPL_LINK_INLINE_START( SvRTLInputBox, CancelHdl, Button *, pButton ) EndDialog( 0 ); return 0; } -IMPL_LINK_INLINE_END( SvRTLInputBox, CancelHdl, Button *, pButton ) // ********************************************************************* diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index f4092002d4aa..f4958278c91a 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -115,7 +115,7 @@ void SbiInputDialog::dispose() ModalDialog::dispose(); } -IMPL_LINK_INLINE_START( SbiInputDialog, Ok, vcl::Window *, pWindow ) +IMPL_LINK( SbiInputDialog, Ok, vcl::Window *, pWindow ) { (void)pWindow; @@ -123,17 +123,14 @@ IMPL_LINK_INLINE_START( SbiInputDialog, Ok, vcl::Window *, pWindow ) EndDialog( 1 ); return 0; } -IMPL_LINK_INLINE_END( SbiInputDialog, Ok, vcl::Window *, pWindow ) -IMPL_LINK_INLINE_START( SbiInputDialog, Cancel, vcl::Window *, pWindow ) +IMPL_LINK( SbiInputDialog, Cancel, vcl::Window *, pWindow ) { (void)pWindow; EndDialog( 0 ); return 0; } -IMPL_LINK_INLINE_END( SbiInputDialog, Cancel, vcl::Window *, pWindow ) - SbiStream::SbiStream() : pStrm(0) |