summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-13 11:10:38 +0200
committerNoel Grandin <noel@peralex.com>2015-10-14 09:30:20 +0200
commitb4da5037e0cc2952446b2138d515e0c762172b25 (patch)
tree061c81fb860f5552ce18051d7eb86f4f5324da61 /vcl/source/window
parent73ceffe5c247dcffa7653e043530e58e4eb73fdf (diff)
convert Link<> to typed
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/dialog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index b0f4c8381b5a..04bfe04a503d 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -334,7 +334,7 @@ struct DialogImpl
{
long mnResult;
bool mbStartedModal;
- Link<> maEndDialogHdl;
+ Link<Dialog&,void> maEndDialogHdl;
DialogImpl() : mnResult( -1 ), mbStartedModal( false ) {}
};
@@ -915,7 +915,7 @@ short Dialog::Execute()
}
// virtual
-void Dialog::StartExecuteModal( const Link<>& rEndDialogHdl )
+void Dialog::StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl )
{
if ( !ImplStartExecuteModal() )
return;
@@ -972,8 +972,8 @@ void Dialog::EndDialog( long nResult )
ImplEndExecuteModal();
if (mpDialogImpl->maEndDialogHdl.IsSet())
{
- mpDialogImpl->maEndDialogHdl.Call( this );
- mpDialogImpl->maEndDialogHdl = Link<>();
+ mpDialogImpl->maEndDialogHdl.Call( *this );
+ mpDialogImpl->maEndDialogHdl = Link<Dialog&,void>();
}
mpDialogImpl->mbStartedModal = false;
mpDialogImpl->mnResult = -1;