summaryrefslogtreecommitdiff
path: root/include/vcl/split.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 15:59:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:21:26 +0000
commit411e32244c7bff5fb64a049b1c63cf15ac166cd3 (patch)
treecb24cba623bc3dd64bca0352e230e8508631ac0a /include/vcl/split.hxx
parent37603521c0a6a0a34174a5020a6999ffb9d041d8 (diff)
convert Link<> to typed
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/split.hxx')
-rw-r--r--include/vcl/split.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/split.hxx b/include/vcl/split.hxx
index b12abdda5131..069712aca2cf 100644
--- a/include/vcl/split.hxx
+++ b/include/vcl/split.hxx
@@ -39,9 +39,9 @@ private:
bool mbKbdSplitting;
long mbInKeyEvent;
long mnKeyboardStepSize;
- Link<> maStartSplitHdl;
- Link<> maSplitHdl;
- Link<> maEndSplitHdl;
+ Link<Splitter*,void> maStartSplitHdl;
+ Link<Splitter*,void> maSplitHdl;
+ Link<Splitter*,void> maEndSplitHdl;
SAL_DLLPRIVATE void ImplInitSplitterData();
SAL_DLLPRIVATE void ImplDrawSplitter();
@@ -97,9 +97,9 @@ public:
// the default is 10% of the reference window's width/height
void SetKeyboardStepSize( long nStepSize );
- void SetStartSplitHdl( const Link<>& rLink ) { maStartSplitHdl = rLink; }
- void SetSplitHdl( const Link<>& rLink ) { maSplitHdl = rLink; }
- void SetEndSplitHdl( const Link<>& rLink ) { maEndSplitHdl = rLink; }
+ void SetStartSplitHdl( const Link<Splitter*,void>& rLink ) { maStartSplitHdl = rLink; }
+ void SetSplitHdl( const Link<Splitter*,void>& rLink ) { maSplitHdl = rLink; }
+ void SetEndSplitHdl( const Link<Splitter*,void>& rLink ) { maEndSplitHdl = rLink; }
};
#endif // INCLUDED_VCL_SPLIT_HXX