diff options
Diffstat (limited to 'sd/source/ui/view/OutlinerIterator.cxx')
-rwxr-xr-x | sd/source/ui/view/OutlinerIterator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index d2f1a97ad698..45bea8831b95 100755 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -200,14 +200,14 @@ Iterator OutlinerContainer::CreateIterator (IteratorLocation aLocation) return CreateSelectionIterator ( mpOutliner->maMarkListCopy, mpOutliner->mpDrawDocument, - mpOutliner->mpViewShell, + mpOutliner->mpWeakViewShell.lock(), mpOutliner->mbDirectionIsForward, aLocation); else // Search in the whole document. return CreateDocumentIterator ( mpOutliner->mpDrawDocument, - mpOutliner->mpViewShell, + mpOutliner->mpWeakViewShell.lock(), mpOutliner->mbDirectionIsForward, aLocation); } |