[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 24 12:10:33 UTC 2018


 cui/source/tabpages/numpages.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 7579a33a2e19b55e9448fccdf3ce8dccfbce3478
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 24 11:28:56 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Oct 24 14:10:09 2018 +0200

    Resolves: tdf#120862 double-click in bullets and numbering
    
    Change-Id: I3d8aa529fc5ac8a8f80eb1fd6728786680f2aee2
    Reviewed-on: https://gerrit.libreoffice.org/62277
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index fc586579bbaf..5e1f23cede2a 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -351,8 +351,8 @@ IMPL_LINK_NOARG(SvxSingleNumPickTabPage, NumSelectHdl_Impl, SvtValueSet*, void)
 IMPL_LINK_NOARG(SvxSingleNumPickTabPage, DoubleClickHdl_Impl, SvtValueSet*, void)
 {
     NumSelectHdl_Impl(m_xExamplesVS.get());
-    PushButton& rOk = GetTabDialog()->GetOKButton();
-    rOk.GetClickHdl().Call(&rOk);
+    weld::Button& rOk = GetDialogController()->GetOKButton();
+    rOk.clicked();
 }
 
 SvxBulletPickTabPage::SvxBulletPickTabPage(TabPageParent pParent, const SfxItemSet& rSet)
@@ -498,8 +498,8 @@ IMPL_LINK_NOARG(SvxBulletPickTabPage, NumSelectHdl_Impl, SvtValueSet*, void)
 IMPL_LINK_NOARG(SvxBulletPickTabPage, DoubleClickHdl_Impl, SvtValueSet*, void)
 {
     NumSelectHdl_Impl(m_xExamplesVS.get());
-    PushButton& rOk = GetTabDialog()->GetOKButton();
-    rOk.GetClickHdl().Call(&rOk);
+    weld::Button& rOk = GetDialogController()->GetOKButton();
+    rOk.clicked();
 }
 
 void SvxBulletPickTabPage::PageCreated(const SfxAllItemSet& aSet)
@@ -741,8 +741,8 @@ IMPL_LINK_NOARG(SvxNumPickTabPage, NumSelectHdl_Impl, SvtValueSet*, void)
 IMPL_LINK_NOARG(SvxNumPickTabPage, DoubleClickHdl_Impl, SvtValueSet*, void)
 {
     NumSelectHdl_Impl(m_xExamplesVS.get());
-    PushButton& rOk = GetTabDialog()->GetOKButton();
-    rOk.GetClickHdl().Call(&rOk);
+    weld::Button& rOk = GetDialogController()->GetOKButton();
+    rOk.clicked();
 }
 
 void SvxNumPickTabPage::PageCreated(const SfxAllItemSet& aSet)
@@ -944,8 +944,8 @@ IMPL_LINK_NOARG(SvxBitmapPickTabPage, NumSelectHdl_Impl, SvtValueSet*, void)
 IMPL_LINK_NOARG(SvxBitmapPickTabPage, DoubleClickHdl_Impl, SvtValueSet*, void)
 {
     NumSelectHdl_Impl(m_xExamplesVS.get());
-    PushButton& rOk = GetTabDialog()->GetOKButton();
-    rOk.GetClickHdl().Call(&rOk);
+    weld::Button& rOk = GetDialogController()->GetOKButton();
+    rOk.clicked();
 }
 
 IMPL_LINK_NOARG(SvxBitmapPickTabPage, ClickAddBrowseHdl_Impl, weld::Button&, void)


More information about the Libreoffice-commits mailing list