summaryrefslogtreecommitdiff
path: root/basic/source/runtime/iosys.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r--basic/source/runtime/iosys.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index c069c6f92c51..7be2228bba72 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -70,8 +70,8 @@ class SbiInputDialog : public ModalDialog {
VclPtr<OKButton> aOk;
VclPtr<CancelButton> aCancel;
OUString aText;
- DECL_LINK( Ok, vcl::Window * );
- DECL_LINK( Cancel, vcl::Window * );
+ DECL_LINK_TYPED( Ok, Button *, void );
+ DECL_LINK_TYPED( Cancel, Button *, void );
public:
SbiInputDialog( vcl::Window*, const OUString& );
virtual ~SbiInputDialog() { disposeOnce(); }
@@ -115,21 +115,15 @@ void SbiInputDialog::dispose()
ModalDialog::dispose();
}
-IMPL_LINK( SbiInputDialog, Ok, vcl::Window *, pWindow )
+IMPL_LINK_NOARG_TYPED( SbiInputDialog, Ok, Button *, void )
{
- (void)pWindow;
-
aText = aInput->GetText();
EndDialog( 1 );
- return 0;
}
-IMPL_LINK( SbiInputDialog, Cancel, vcl::Window *, pWindow )
+IMPL_LINK_NOARG_TYPED( SbiInputDialog, Cancel, Button *, void )
{
- (void)pWindow;
-
EndDialog();
- return 0;
}
SbiStream::SbiStream()