summaryrefslogtreecommitdiff
path: root/include
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 /include
parent73ceffe5c247dcffa7653e043530e58e4eb73fdf (diff)
convert Link<> to typed
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/tabdlg.hxx2
-rw-r--r--include/vcl/abstdlg.hxx3
-rw-r--r--include/vcl/dialog.hxx2
3 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index f95fffeeedab..0a9c4710dcdf 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -195,7 +195,7 @@ public:
void RemoveStandardButton();
short Execute() override;
- void StartExecuteModal( const Link<>& rEndDialogHdl ) override;
+ void StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl ) override;
void Start( bool bShow = true );
const SfxItemSet* GetExampleSet() const { return pExampleSet; }
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx
index 3b2dd2dae85c..5ea675cd199c 100644
--- a/include/vcl/abstdlg.hxx
+++ b/include/vcl/abstdlg.hxx
@@ -25,6 +25,7 @@
namespace vcl { class Window; }
class ResId;
+class Dialog;
class VCL_DLLPUBLIC VclAbstractDialog
{
@@ -39,7 +40,7 @@ class VCL_DLLPUBLIC VclAbstractDialog2
public:
virtual ~VclAbstractDialog2();
- virtual void StartExecuteModal( const Link<>& rEndDialogHdl ) = 0;
+ virtual void StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl ) = 0;
virtual long GetResult() = 0;
};
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 6875366d8a50..668ab71eb407 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -102,7 +102,7 @@ public:
// Dialog::Execute replacement API
public:
// Link impl: DECL_LINK( MyEndDialogHdl, Dialog* ); <= param is dialog just ended
- virtual void StartExecuteModal( const Link<>& rEndDialogHdl );
+ virtual void StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl );
long GetResult() const;
private:
bool ImplStartExecuteModal();