diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-18 13:50:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-18 18:20:26 +0100 |
commit | 77a0cb2839c7770346bf97a273a36715a6cc0be4 (patch) | |
tree | 4186d21afbc8cc37df9e53ee220daa10fb3707bd /include/vcl | |
parent | 051d0ccc16954ec423f91ac148e34ce3bff7aca4 (diff) |
Resolves: tdf#122355 search help for active notebook page
before checking for the dialog, to get more specific
help results.
Change-Id: I2d6128fa39d3f7ebf15e194354307dd924590009
Reviewed-on: https://gerrit.libreoffice.org/67973
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 4fb71ca77bf1..dcbf59cd5453 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -171,6 +171,11 @@ public: virtual Container* weld_parent() const = 0; + //iterate upwards through the hierarchy sarting at this widgets parent, + //calling func with their helpid until func returns true or we run out of + //parents + virtual void help_hierarchy_foreach(const std::function<bool(const OString&)>& func) = 0; + virtual ~Widget() {} }; |