diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 17:27:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-21 18:19:58 +0200 |
commit | 9940f077fdfc0c271aa66ad64578ae2236a2ca81 (patch) | |
tree | a52b00f3ba98d78f88a0d2aa5a02605746f8e6c7 /sc/source/ui/miscdlgs/scuiautofmt.cxx | |
parent | f19a599f6911f5ccd1049228454b6c6c8fd6d5cb (diff) |
add Toggleable as a separate thing to a Button
and inherit ToggleButton from both it and Button
Change-Id: If0e500aca8d0ffa087cb5e2bfc1786372fbff4eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115921
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/miscdlgs/scuiautofmt.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/scuiautofmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx index 53cb8b7094ff..d08c93b3e5dc 100644 --- a/sc/source/ui/miscdlgs/scuiautofmt.cxx +++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx @@ -151,7 +151,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, DblClkHdl, weld::TreeView&, bool) return true; } -IMPL_LINK(ScAutoFormatDlg, CheckHdl, weld::ToggleButton&, rBtn, void) +IMPL_LINK(ScAutoFormatDlg, CheckHdl, weld::Toggleable&, rBtn, void) { ScAutoFormatData* pData = pFormat->findByIndex(nIndex); bool bCheck = rBtn.get_active(); |