From f52d015b04779b8aaa3e353cbd9d0d5da3e73a16 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 16 Aug 2019 08:21:01 +0100 Subject: get_current_page_help_id is now tried first already MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id7f5d2c4bcfaba68afc83d471151e1daabf1a830 Reviewed-on: https://gerrit.libreoffice.org/77558 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/app/salvtables.cxx | 8 -------- vcl/unx/gtk3/gtk3gtkinst.cxx | 8 -------- 2 files changed, 16 deletions(-) diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 90481eaf0c7e..a5a8dc8c1592 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -5590,14 +5590,6 @@ void SalInstanceWidget::help_hierarchy_foreach(const std::functionGetParent())) { - if (m_pBuilder && pParent->IsDialog()) - { - // tdf#122355 before trying dialog help, check to see if there is a notebook - // called tabcontrol, and try the help for the current page of that first - OString sPageHelpId(m_pBuilder->get_current_page_help_id()); - if (!sPageHelpId.isEmpty() && func(sPageHelpId)) - return; - } if (func(pParent->GetHelpId())) return; } diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index aa831c1bfbb9..97069acbb568 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -10919,14 +10919,6 @@ void GtkInstanceWidget::help_hierarchy_foreach(const std::functionget_current_page_help_id()); - if (!sPageHelpId.isEmpty() && func(sPageHelpId)) - return; - } if (func(::get_help_id(pParent))) return; } -- cgit