diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 10:54:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 15:23:07 +0200 |
commit | 52aae0c8cd63cf68976bb1c464049cf00d3f942e (patch) | |
tree | ca928b1cb6f47030f6e3da3034a268f674b9c638 /include | |
parent | 5d8ac801c00fbf1dc16ee8dbfe8167baf7ea0ce0 (diff) |
pass CheckButton argument instead of its Button baseclass
Change-Id: I76f446266fcc74ba2db928ef1c5e764eead57997
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115801
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 20a302f75b61..4e0fd518efaa 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -515,7 +515,7 @@ namespace svt { std::unique_ptr<weld::CheckButton> m_xBox; weld::TriStateEnabled m_aModeState; - Link<weld::Button&,void> m_aClickLink; + Link<weld::CheckButton&,void> m_aToggleLink; Link<LinkParamNone*,void> m_aModify1Hdl; Link<LinkParamNone*,void> m_aModify2Hdl; @@ -524,7 +524,7 @@ namespace svt virtual ~CheckBoxControl() override; virtual void dispose() override; - void SetClickHdl(const Link<weld::Button&,void>& rHdl) {m_aClickLink = rHdl;} + void SetToggleHdl(const Link<weld::CheckButton&,void>& rHdl) {m_aToggleLink = rHdl;} // sets a link to call when the text is changed by the user void SetModifyHdl(const Link<LinkParamNone*,void>& rHdl) |