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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 30 13:45:48 UTC 2019


 sc/source/ui/inc/tphf.hxx     |    1 -
 sc/source/ui/pagedlg/tphf.cxx |    9 ---------
 2 files changed, 10 deletions(-)

New commits:
commit 338a525a00a9ea0b44d41d59c8e9dbcf17ac411b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Sep 30 11:34:11 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Sep 30 15:44:52 2019 +0200

    Resolves: tdf#127859 fix header/footer dialog crash
    
    Change-Id: I643afbac841bbd1bc7857e25d8e1d98b4d48e881
    Reviewed-on: https://gerrit.libreoffice.org/79842
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx
index 53c71e3d86c1..edd87f207a70 100644
--- a/sc/source/ui/inc/tphf.hxx
+++ b/sc/source/ui/inc/tphf.hxx
@@ -49,7 +49,6 @@ private:
     std::unique_ptr<weld::Button> m_xBtnEdit;
 
     DECL_LINK(BtnHdl, weld::Button&, void);
-    DECL_LINK( HFEditHdl, void*, void );
     DECL_LINK(TurnOnHdl, weld::ToggleButton&, void);
 };
 
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index d130d26d26d1..dc3d2083ed73 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -142,15 +142,6 @@ IMPL_LINK_NOARG(ScHFPage, TurnOnHdl, weld::ToggleButton&, void)
 
 IMPL_LINK_NOARG(ScHFPage, BtnHdl, weld::Button&, void)
 {
-    // When the Edit-Dialog is directly called from the Button's Click-Handler,
-    // the GrabFocus from the Edit-Dialog under OS/2 doesn't work.(Bug #41805#).
-    // With the new StarView, this workaround should be again considered!
-
-    Application::PostUserEvent( LINK( this, ScHFPage, HFEditHdl ), nullptr, true );
-}
-
-IMPL_LINK_NOARG(ScHFPage, HFEditHdl, void*, void)
-{
     SfxViewShell*   pViewSh = SfxViewShell::Current();
 
     if ( !pViewSh )


More information about the Libreoffice-commits mailing list