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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 59b45df8d987..76fd5f4cf83b 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -352,7 +352,7 @@ awt::Point SAL_CALL ValueItemAcc::getLocationOnScreen() if( mpParent ) { const Point aPos = mpParent->mrParent.GetItemRect(mpParent->mnId).TopLeft(); - const Point aScreenPos( mpParent->mrParent.GetDrawingArea()->get_accessible_location() ); + const Point aScreenPos(mpParent->mrParent.GetDrawingArea()->get_accessible_location_on_screen()); aRet.X = aPos.X() + aScreenPos.X(); aRet.Y = aPos.Y() + aScreenPos.Y(); |