diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2025-02-04 18:02:12 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-02-05 08:37:40 +0100 |
commit | 098a706920d11cfe7a70d367e9e3e9eedc032773 (patch) | |
tree | 942f9313eb6885dfa67f00cc37bb899f7319359f /svx | |
parent | 589ead3a6ae776fdbcb426f2817fbb94933a8bf7 (diff) |
browsebox a11y: Deduplicate 2 cases effectively doing the same
There's no need to distinguish between the case where
`pParent` is set (i.e. parent-relative coords were requested)
and where it is not, as only the height, and not the position
are used, and the size is the same for the two rectangles retrieved
via Window::GetWindowExtentsRelative and
Window::GetWindowExtentsAbsolute, so simply always use the latter.
(The distinction further down is relevant, however,
because it uses the top-left point of the rectangle,
not its size.)
Change-Id: I3362e1493112236e08600f66f7c772d339919e7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181139
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions