From 16121e0144fc11fc26f45ea1a7b2e1488d5267ef Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 8 Jul 2021 10:04:10 +0100 Subject: return value of PixelToLogic ignored MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the other uses of SdrObjListPrimitiveHit operate in Logic Position Change-Id: Id6a834a17e6e2252bd4f58d10cd95f7425191203 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118606 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- svx/source/accessibility/GraphCtlAccessibleContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 98484033820e..989be9e6d189 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -177,7 +177,7 @@ Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessibleAt } Point aPnt( rPoint.X, rPoint.Y ); - mpControl->GetDrawingArea()->get_ref_device().PixelToLogic( aPnt ); + aPnt = mpControl->GetDrawingArea()->get_ref_device().PixelToLogic(aPnt); SdrObject* pObj = nullptr; -- cgit