svx/source/svdraw/svdview.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c9bfde9a613aafbf209e093ae44d4b8dbdb17d9d
Author:     Réka Csékei <[email protected]>
AuthorDate: Tue Oct 9 13:31:34 2018 +0200
Commit:     Tamás Zolnai <[email protected]>
CommitDate: Tue Oct 9 13:33:10 2018 +0200

    cppcheck: redundantAssignment
    
    Change-Id: I1efdffb92e09f83be7052b8a28ddbfb22f17defa
    Reviewed-on: https://gerrit.libreoffice.org/61581
    Reviewed-by: Tamás Zolnai <[email protected]>
    Tested-by: Tamás Zolnai <[email protected]>

diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index f428714e8b81..37f5d07f2e34 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -400,8 +400,7 @@ SdrHitKind SdrView::PickAnything(const Point& rLogicPos, 
SdrViewEvent& rVEvt) co
         SdrObject* pMidObj=nullptr;
         if (pObj!=pHitObj)
         {
-            SdrObject* pObjTmp=nullptr;
-            pObjTmp=pHitObj->getParentSdrObjectFromSdrObject();
+            SdrObject* pObjTmp=pHitObj->getParentSdrObjectFromSdrObject();
             if (pObjTmp==pObj) pObjTmp=nullptr;
             while (pObjTmp!=nullptr)
             {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to