summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/securitypage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/securitypage.cxx')
-rw-r--r--sfx2/source/dialog/securitypage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index ad4c30b4e6c1..7441e47c1746 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -147,7 +147,7 @@ struct SfxSecurityPage_Impl
std::unique_ptr<weld::Button> m_xProtectPB; // for record changes
std::unique_ptr<weld::Button> m_xUnProtectPB; // for record changes
- DECL_LINK(RecordChangesCBToggleHdl, weld::ToggleButton&, void);
+ DECL_LINK(RecordChangesCBToggleHdl, weld::Toggleable&, void);
DECL_LINK(ChangeProtectionPBHdl, weld::Button&, void);
SfxSecurityPage_Impl( SfxSecurityPage &rDlg );
@@ -312,7 +312,7 @@ void SfxSecurityPage_Impl::Reset_Impl()
}
}
-IMPL_LINK_NOARG(SfxSecurityPage_Impl, RecordChangesCBToggleHdl, weld::ToggleButton&, void)
+IMPL_LINK_NOARG(SfxSecurityPage_Impl, RecordChangesCBToggleHdl, weld::Toggleable&, void)
{
// when change recording gets disabled protection must be disabled as well
if (m_xRecordChangesCB->get_active()) // the new check state is already present, thus the '!'