[Libreoffice-commits] core.git: include/vcl sd/source

Caolán McNamara caolanm at redhat.com
Fri May 11 07:53:32 UTC 2018


 include/vcl/weld.hxx         |    4 ----
 sd/source/ui/dlg/present.cxx |    4 ++--
 sd/source/ui/inc/present.hxx |    2 +-
 3 files changed, 3 insertions(+), 7 deletions(-)

New commits:
commit 94aa2e5013025218b302b000d5cccf65ee557055
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 10 17:28:41 2018 +0100

    drop metric connect_changed, use connect_value_changed
    
    Change-Id: Ic89b4185ee76567af807b3e6a56eca691b707a3f
    Reviewed-on: https://gerrit.libreoffice.org/54094
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 306dc4fedebf..29067a06b357 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -642,8 +642,6 @@ public:
         m_aValueChangedHdl = rLink;
     }
 
-    void connect_changed(const Link<Entry&, void>& rLink) { m_xSpinButton->connect_changed(rLink); }
-
     int normalize(int nValue) const { return m_xSpinButton->normalize(nValue); }
     int denormalize(int nValue) const { return m_xSpinButton->denormalize(nValue); }
     void set_sensitive(bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
@@ -721,8 +719,6 @@ public:
         m_aValueChangedHdl = rLink;
     }
 
-    void connect_changed(const Link<Entry&, void>& rLink) { m_xSpinButton->connect_changed(rLink); }
-
     void set_sensitive(bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
     bool get_sensitive() const { return m_xSpinButton->get_sensitive(); }
     bool get_visible() const { return m_xSpinButton->get_visible(); }
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<OUString>::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 {


More information about the Libreoffice-commits mailing list