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 /chart2/source/inc | |
parent | drop unused suppression (diff) | |
download | core-9940f077fdfc0c271aa66ad64578ae2236a2ca81.tar.gz core-9940f077fdfc0c271aa66ad64578ae2236a2ca81.zip |
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 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/ChartResourceGroups.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/inc/ChartResourceGroups.hxx b/chart2/source/inc/ChartResourceGroups.hxx index 62857fdbf724..2a81b5cfd3cc 100644 --- a/chart2/source/inc/ChartResourceGroups.hxx +++ b/chart2/source/inc/ChartResourceGroups.hxx @@ -49,7 +49,7 @@ public: void fillParameter(ChartTypeParameter& rParameter); private: - DECL_LINK(Dim3DLookCheckHdl, weld::ToggleButton&, void); + DECL_LINK(Dim3DLookCheckHdl, weld::Toggleable&, void); DECL_LINK(SelectSchemeHdl, weld::ComboBox&, void); private: @@ -68,7 +68,7 @@ public: void fillParameter(ChartTypeParameter& rParameter); private: - DECL_LINK(SortByXValuesCheckHdl, weld::ToggleButton&, void); + DECL_LINK(SortByXValuesCheckHdl, weld::Toggleable&, void); private: std::unique_ptr<weld::CheckButton> m_xCB_XValueSorting; @@ -85,8 +85,8 @@ public: void fillParameter(ChartTypeParameter& rParameter); private: - DECL_LINK(StackingChangeHdl, weld::ToggleButton&, void); - DECL_LINK(StackingEnableHdl, weld::ToggleButton&, void); + DECL_LINK(StackingChangeHdl, weld::Toggleable&, void); + DECL_LINK(StackingEnableHdl, weld::Toggleable&, void); private: std::unique_ptr<weld::CheckButton> m_xCB_Stacked; |