From 94aa2e5013025218b302b000d5cccf65ee557055 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 May 2018 17:28:41 +0100 Subject: drop metric connect_changed, use connect_value_changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic89b4185ee76567af807b3e6a56eca691b707a3f Reviewed-on: https://gerrit.libreoffice.org/54094 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/dlg/present.cxx | 4 ++-- sd/source/ui/inc/present.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index ea97037ef2ab..0c64fee760f9 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -73,7 +73,7 @@ SdStartPresentationDlg::SdStartPresentationDlg(weld::Window* pWindow, const SfxI m_xRbtWindow->connect_clicked( aLink ); m_xRbtAuto->connect_clicked( aLink ); - m_xTmfPause->connect_changed( LINK( this, SdStartPresentationDlg, ChangePauseHdl ) ); + m_xTmfPause->connect_value_changed( LINK( this, SdStartPresentationDlg, ChangePauseHdl ) ); // fill Listbox with page names for (std::vector::const_iterator pIter = rPageNames.begin(); pIter != rPageNames.end(); ++pIter) @@ -309,7 +309,7 @@ IMPL_LINK_NOARG(SdStartPresentationDlg, ClickWindowPresentationHdl, weld::Button /** * Handler: Enabled/Disabled Checkbox "AlwaysOnTop" */ -IMPL_LINK_NOARG(SdStartPresentationDlg, ChangePauseHdl, weld::Entry&, void) +IMPL_LINK_NOARG(SdStartPresentationDlg, ChangePauseHdl, weld::TimeSpinButton&, void) { ChangePause(); } diff --git a/sd/source/ui/inc/present.hxx b/sd/source/ui/inc/present.hxx index d81b2918e66e..85f09e92a9e4 100644 --- a/sd/source/ui/inc/present.hxx +++ b/sd/source/ui/inc/present.hxx @@ -66,7 +66,7 @@ private: DECL_LINK(ChangeRangeHdl, weld::Button&, void); DECL_LINK(ClickWindowPresentationHdl, weld::Button&, void); void ChangePause(); - DECL_LINK(ChangePauseHdl, weld::Entry&, void); + DECL_LINK(ChangePauseHdl, weld::TimeSpinButton&, void); void InitMonitorSettings(); enum DisplayType { -- cgit