summaryrefslogtreecommitdiff
path: root/include/vcl/splitwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 14:31:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:20:35 +0000
commit37603521c0a6a0a34174a5020a6999ffb9d041d8 (patch)
tree365d57798de925cee00608075f16e76174a4013d /include/vcl/splitwin.hxx
parent5beffcf3f1fd96fb9909b93759f8537417048863 (diff)
convert Link<> to typed
Change-Id: I8bea5ac685b0076649412bd95501461242797d77 Reviewed-on: https://gerrit.libreoffice.org/18266 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/splitwin.hxx')
-rw-r--r--include/vcl/splitwin.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 5a2711a486dd..4cec7d07645b 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -85,12 +85,7 @@ private:
mbFadeOutPressed:1,
mbFadeNoButtonMode:1,
mbNoAlign:1;
- Link<> maStartSplitHdl;
- Link<> maSplitHdl;
- Link<> maSplitResizeHdl;
- Link<> maAutoHideHdl;
- Link<> maFadeInHdl;
- Link<> maFadeOutHdl;
+ Link<SplitWindow*,void> maSplitHdl;
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
@@ -200,7 +195,7 @@ public:
bool IsFadeNoButtonMode() const { return mbFadeNoButtonMode; }
void SetAutoHideState( bool bAutoHide );
- void SetSplitHdl( const Link<>& rLink ) { maSplitHdl = rLink; }
+ void SetSplitHdl( const Link<SplitWindow*,void>& rLink ) { maSplitHdl = rLink; }
};
#endif // INCLUDED_VCL_SPLITWIN_HXX