diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-23 14:26:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-23 18:20:07 +0200 |
commit | 87bd31e28cb0688acb2d05f99daeea038bfe38fc (patch) | |
tree | dbe2894711eae6ed7fb3e7f74a0ba68763db152f /sc | |
parent | f7787bbea5a8d469e20102af77115f70885dd605 (diff) |
we want the a11y screen location
gen uses the absolute screen position so that's what's expected
Change-Id: I4f51c272a49a640e0a387bc123b2cc17ea430d6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114551
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleEditObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index d416b452ddfa..f9e792298c80 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -542,7 +542,7 @@ tools::Rectangle ScAccessibleEditControlObject::GetBoundingBoxOnScreen() const if (m_pController && m_pController->GetDrawingArea()) { - aScreenBounds = tools::Rectangle(m_pController->GetDrawingArea()->get_accessible_location(), + aScreenBounds = tools::Rectangle(m_pController->GetDrawingArea()->get_accessible_location_on_screen(), m_pController->GetOutputSizePixel()); } |