diff options
Diffstat (limited to 'sd/source/ui/view/OutlinerIterator.cxx')
-rw-r--r-- | sd/source/ui/view/OutlinerIterator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index 0126a1d3a57b..88c66acb4ca4 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -684,8 +684,7 @@ void ViewIteratorImpl::Reverse() IteratorImplBase::Reverse (); // Create reversed object list iterator. - if (mpObjectIterator != nullptr) - delete mpObjectIterator; + delete mpObjectIterator; if (mpPage != nullptr) mpObjectIterator = new SdrObjListIter(*mpPage, SdrIterMode::DeepNoGroups, ! mbDirectionIsForward); else |