diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-30 11:34:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-30 15:44:52 +0200 |
commit | 338a525a00a9ea0b44d41d59c8e9dbcf17ac411b (patch) | |
tree | 0034376951eac27199fae7beb3e72abf5f159f62 | |
parent | 6c48186f1e71afdc129bf9d9ee483f10eb1d98ca (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/ui/inc/tphf.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 9 |
2 files changed, 0 insertions, 10 deletions
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 ) |