summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-07-05 10:34:12 +0200
committerChristian Lippka <christian.lippka@sun.com>2010-07-05 10:34:12 +0200
commit28bc64ce5b71ba50b20a4fde705953a752c814a9 (patch)
tree2360050f288ff81d3b020e45050e3af19f6cb60b /sd/source
parent54c602060aea164028ad3cfeebc0d2eb1daa6db4 (diff)
parentf7fdc198466a30026d24e3c55fbbf17ea10c05cc (diff)
impress193: merging changes
Diffstat (limited to 'sd/source')
-rwxr-xr-xsd/source/ui/view/Outliner.cxx4
1 files changed, 3 insertions, 1 deletions
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);
}
}
}