diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-17 16:47:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-17 22:15:48 +0200 |
commit | 8c74d9b30aacec2207dd6c7960c81280c79e2c31 (patch) | |
tree | d3c3fab2b548c574b2aefb093f1de411725f4bc6 /include | |
parent | 65cc604f68963705baca6906daa1b264b657e5a2 (diff) |
ignore positions on top of scrollbars for GetTargetAtPoint
Change-Id: I6d63ac3723b392e7c82836ea5d4455ebde8a8e08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96553
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/treelistbox.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index ac24996221cc..1fe73c689610 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -557,6 +557,10 @@ protected: void ImplEditEntry( SvTreeListEntry* pEntry ); void AdjustEntryHeightAndRecalc(); + + // true if rPos is over the SvTreeListBox body, i.e. not over a + // scrollbar + VCL_DLLPRIVATE bool PosOverBody(const Point& rPos) const; public: void SetNoAutoCurEntry( bool b ); |