diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/dialog.hxx | 6 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 6 |
2 files changed, 6 insertions, 6 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); diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 523f2fa89d7f..802588f9c38c 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -153,7 +153,7 @@ void SetFontStyle(std::u16string_view rStyleName, vcl::Font &rFont) rFont.SetWeight((nIndex & 0x2) ? WEIGHT_BOLD : WEIGHT_NORMAL); } -IMPL_LINK_NOARG(SmPrintOptionsTabPage, SizeButtonClickHdl, weld::ToggleButton&, void) +IMPL_LINK_NOARG(SmPrintOptionsTabPage, SizeButtonClickHdl, weld::Toggleable&, void) { m_xZoom->set_sensitive(m_xSizeZoomed->get_active()); } @@ -267,7 +267,7 @@ IMPL_LINK( SmFontDialog, FontSelectHdl, weld::ComboBox&, rComboBox, void ) m_aShowFont.SetFont(maFont); } -IMPL_LINK_NOARG(SmFontDialog, AttrChangeHdl, weld::ToggleButton&, void) +IMPL_LINK_NOARG(SmFontDialog, AttrChangeHdl, weld::Toggleable&, void) { if (m_xBoldCheckBox->get_active()) maFont.SetWeight(WEIGHT_BOLD); @@ -644,7 +644,7 @@ IMPL_LINK_NOARG( SmDistanceDialog, DefaultButtonClickHdl, weld::Button&, void ) } } -IMPL_LINK( SmDistanceDialog, CheckBoxClickHdl, weld::ToggleButton&, rCheckBox, void ) +IMPL_LINK( SmDistanceDialog, CheckBoxClickHdl, weld::Toggleable&, rCheckBox, void ) { if (&rCheckBox == m_xCheckBox1.get()) { |