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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 9 09:19:19 UTC 2021


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

New commits:
commit b8dbe5fe8445cacca919a04611bb09ac4c15937d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 8 10:04:10 2021 +0100
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Fri Jul 9 11:18: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/+/118615
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx
index ffe195b4d990..25a271063bc5 100644
--- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx
+++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx
@@ -176,7 +176,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