summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-25 14:38:44 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-12 06:54:02 +0000
commite757c471139094525bd0a967e1b72747f35f99bf (patch)
treeab2072514e2e3d0447bb05113d254dc6167a53d0 /include
parentcppcheck:variableScope (diff)
downloadcore-e757c471139094525bd0a967e1b72747f35f99bf.tar.gz
core-e757c471139094525bd0a967e1b72747f35f99bf.zip
convert Link<> to typed
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/layout.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index f3d0f980634e..6ae3692fad15 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -463,14 +463,14 @@ public:
m_pDisclosureButton->SetText(rLabel);
}
virtual void StateChanged(StateChangedType nType) SAL_OVERRIDE;
- void SetExpandedHdl( const Link<>& rLink ) { maExpandedHdl = rLink; }
+ void SetExpandedHdl( const Link<VclExpander&,void>& rLink ) { maExpandedHdl = rLink; }
protected:
virtual Size calculateRequisition() const SAL_OVERRIDE;
virtual void setAllocation(const Size &rAllocation) SAL_OVERRIDE;
private:
bool m_bResizeTopLevel;
VclPtr<DisclosureButton> m_pDisclosureButton;
- Link<> maExpandedHdl;
+ Link<VclExpander&,void> maExpandedHdl;
DECL_DLLPRIVATE_LINK_TYPED(ClickHdl, CheckBox&, void);
};