summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-08-16 08:21:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-08-16 22:32:19 +0200
commitf52d015b04779b8aaa3e353cbd9d0d5da3e73a16 (patch)
treef89eddd99a5a85e4f89212167083ca9652b80cb8 /vcl/unx
parentbf888e249079fa7bb791041e0699eb7bd41de327 (diff)
get_current_page_help_id is now tried first already
Change-Id: Id7f5d2c4bcfaba68afc83d471151e1daabf1a830 Reviewed-on: https://gerrit.libreoffice.org/77558 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx8
1 files changed, 0 insertions, 8 deletions
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::function<bool(const OS
GtkWidget* pParent = m_pWidget;
while ((pParent = gtk_widget_get_parent(pParent)))
{
- // 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
- if (m_pBuilder && GTK_IS_DIALOG(pParent))
- {
- OString sPageHelpId(m_pBuilder->get_current_page_help_id());
- if (!sPageHelpId.isEmpty() && func(sPageHelpId))
- return;
- }
if (func(::get_help_id(pParent)))
return;
}