From cda79d479c7e49216e9dd1fc175c20dd93b15640 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Tue, 29 Jun 2010 17:20:41 +0200 Subject: impress193: #i112301# Guarding againts missing view. --- sd/source/ui/view/Outliner.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sd/source/ui/view/Outliner.cxx') diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 356c03b82387..7c94e7b27b07 100755 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -942,7 +942,9 @@ void Outliner::RestoreStartPosition (void) else if (mpViewShell->ISA(OutlineViewShell)) { // Set cursor to its old position. - GetView(0)->SetSelection (maStartSelection); + OutlinerView* pView = GetView(0); + if (pView != NULL) + pView->SetSelection (maStartSelection); } } } -- cgit