summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/OutlinerIterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/OutlinerIterator.cxx')
-rw-r--r--sd/source/ui/view/OutlinerIterator.cxx3
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