[Libreoffice-commits] core.git: svx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 9 11:33:32 UTC 2018
svx/source/svdraw/svdview.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c9bfde9a613aafbf209e093ae44d4b8dbdb17d9d
Author: Réka Csékei <reka.csekei at gmail.com>
AuthorDate: Tue Oct 9 13:31:34 2018 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
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 <tamas.zolnai at collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
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)
{
More information about the Libreoffice-commits
mailing list