From 77f98204ba2fbb51b0a0bb2ac94b839249eec9a4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 30 Jun 2017 17:54:39 +0200 Subject: loplugin:unusedvariablecheck leftover from a54ba50db2c341f0f0e47d77dbe64a6e588bc911 "tdf#108863 svx: fix use- after-free in SdrEditView::DeleteMarkedObj()" Change-Id: I6cbde8810321c476d75a036d8de42f30107adffe --- svx/source/svdraw/svdedtv.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index f3d5a046de14..e100af7b72b4 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -713,8 +713,6 @@ std::vector SdrEditView::DeleteMarkedList(SdrMarkList const& rMark) // make sure, OrderNums are correct: rMark.GetMark(0)->GetMarkedSdrObj()->GetOrdNum(); - std::vector< SdrObject* > aRemoved3DObjects; - for(size_t nm = nMarkCount; nm > 0;) { --nm; -- cgit