diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2009-11-24 16:38:35 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2009-11-24 16:38:35 +0100 |
commit | 2fbea28da6def2016099f37d038ad60b1d43b0a9 (patch) | |
tree | 17fd05cd32adeb93678c8663d06e1c384b6913c2 /sd/source/ui/view | |
parent | d78e19009f4cc8af969da61b3e35ac6c6527231d (diff) | |
parent | 280ea32b9dd5b975a6d94f3555145dc3898c09ec (diff) |
CWS-TOOLING: integrate CWS impress180_DEV300
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 233976585e58..ba5836e8f1db 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -334,6 +334,9 @@ void Outliner::EndSpelling (void) { if (mbViewShellValid) { + // Keep old view shell alive until we release the outliner view. + ::boost::shared_ptr<ViewShell> pOldViewShell (mpViewShell); + ViewShellBase* pBase = PTR_CAST(ViewShellBase,SfxViewShell::Current()); if (pBase != NULL) mpViewShell = pBase->GetMainViewShell(); |