svx/source/accessibility/GraphCtlAccessibleContext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 16121e0144fc11fc26f45ea1a7b2e1488d5267ef
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jul 8 10:04:10 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jul 8 12:25:47 2021 +0200

    return value of PixelToLogic ignored
    
    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 <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to