svx/source/svdraw/svdoedge.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 3fca0f501f6bc58039a0d49ee6704e59d90f5437
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Apr 2 09:08:45 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Apr 2 10:53:48 2020 +0200

    cid#1461094 Unchecked return value
    
    Rectangle::IsOver is only useful for its ignored return, so remove
    it and thus aMouseRect2
    
    Change-Id: I6b93de4d0d62dd56abe52cc0b65c7d905f4c847e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91545
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index 8218f2659e95..327ed76d661c 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -2225,12 +2225,10 @@ bool SdrEdgeObj::ImpFindConnector(const Point& rPt, 
const SdrPageView& rPV, SdrO
                     }
                 }
                 if (bFnd) {
-                    tools::Rectangle aMouseRect2(rPt,rPt);
                     aMouseRect.AdjustLeft( -nBoundHitTol );
                     aMouseRect.AdjustTop( -nBoundHitTol );
                     aMouseRect.AdjustRight(nBoundHitTol );
                     aMouseRect.AdjustBottom(nBoundHitTol );
-                    aObjBound.IsOver(aMouseRect2);
                 }
 
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to