[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 8 11:06:37 UTC 2021


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

New commits:
commit 63c9e69f60b3535afe27fcc989ad122a9c993053
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 8 10:04:10 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 8 13:06:04 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/+/118613
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at 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;
 


More information about the Libreoffice-commits mailing list