diff options
author | sj <sj@openoffice.org> | 2010-07-02 13:45:26 +0200 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-07-02 13:45:26 +0200 |
commit | f7fdc198466a30026d24e3c55fbbf17ea10c05cc (patch) | |
tree | de1a219e5f6c8f8a8366c6671375335655a4a4ba /sd | |
parent | cfe3fc33b99195169757914e39db4493f8a352c2 (diff) | |
parent | a1e23a5bc46a35405cd5c547e3e12ed06fc5144d (diff) |
merged heads
Diffstat (limited to 'sd')
-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); } } } |