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 /starmath/inc | |
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 'starmath/inc')
-rw-r--r-- | starmath/inc/dialog.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index fc303ba29fc3..ac1f65ac9913 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -50,7 +50,7 @@ class SmPrintOptionsTabPage final : public SfxTabPage std::unique_ptr<weld::CheckButton> m_xSaveOnlyUsedSymbols; std::unique_ptr<weld::CheckButton> m_xAutoCloseBrackets; - DECL_LINK(SizeButtonClickHdl, weld::ToggleButton&, void); + DECL_LINK(SizeButtonClickHdl, weld::Toggleable&, void); virtual bool FillItemSet(SfxItemSet* rSet) override; virtual void Reset(const SfxItemSet* rSet) override; @@ -89,7 +89,7 @@ class SmFontDialog : public weld::GenericDialogController std::unique_ptr<weld::CustomWeld> m_xShowFont; DECL_LINK(FontSelectHdl, weld::ComboBox&, void); - DECL_LINK(AttrChangeHdl, weld::ToggleButton&, void); + DECL_LINK(AttrChangeHdl, weld::Toggleable&, void); public: SmFontDialog(weld::Window* pParent, OutputDevice *pFntListDevice, bool bHideCheckboxes); @@ -206,7 +206,7 @@ class SmDistanceDialog final : public weld::GenericDialogController DECL_LINK(GetFocusHdl, weld::Widget&, void); DECL_LINK(MenuSelectHdl, const OString&, void); DECL_LINK(DefaultButtonClickHdl, weld::Button&, void); - DECL_LINK(CheckBoxClickHdl, weld::ToggleButton&, void); + DECL_LINK(CheckBoxClickHdl, weld::Toggleable&, void); void SetCategory(sal_uInt16 Category); |