mirror of
https://github.com/LibreOffice/core.git
synced 2025-08-11 02:15:17 +00:00

The handler gets connected as follows in the SpecialSettingsPage ctor: booleanSetting.xControl->connect_toggled(LINK(this, SpecialSettingsPage, OnTriStateToggleHdl)); The control is always a weld::CheckButton, so casting to that is safe. Do this in preparation of making the inconsistent state specific to weld::CheckButton and dropping weld::Toggleable::set_state in an upcoming commit. Change-Id: I03106924f7bdebd90ddcad5fe4c8136d32b72c5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187994 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins