diff options
Diffstat (limited to 'svx/source/svdraw/svdedtv2.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 8408869ea207..a1d0de23144f 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -878,8 +878,8 @@ void SdrEditView::DistributeMarkedObjects() } // clear list - for ( size_t i = 0, n = aEntryList.size(); i < n; ++i ) - delete aEntryList[ i ]; + for (ImpDistributeEntry* p : aEntryList) + delete p; aEntryList.clear(); } @@ -973,8 +973,8 @@ void SdrEditView::DistributeMarkedObjects() } // clear list - for ( size_t i = 0, n = aEntryList.size(); i < n; ++i ) - delete aEntryList[ i ]; + for (ImpDistributeEntry* p : aEntryList) + delete p; aEntryList.clear(); } |