diff options
author | Christian Lippka <christian.lippka@sun.com> | 2010-07-05 10:34:12 +0200 |
---|---|---|
committer | Christian Lippka <christian.lippka@sun.com> | 2010-07-05 10:34:12 +0200 |
commit | 28bc64ce5b71ba50b20a4fde705953a752c814a9 (patch) | |
tree | 2360050f288ff81d3b020e45050e3af19f6cb60b /sd/source | |
parent | 54c602060aea164028ad3cfeebc0d2eb1daa6db4 (diff) | |
parent | f7fdc198466a30026d24e3c55fbbf17ea10c05cc (diff) |
impress193: merging changes
Diffstat (limited to 'sd/source')
-rwxr-xr-x | sd/source/ui/view/Outliner.cxx | 4 |
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); } } } |