Kaydet (Commit) 2fbea28d authored tarafından Vladimir Glazunov's avatar Vladimir Glazunov

CWS-TOOLING: integrate CWS impress180_DEV300

...@@ -334,6 +334,9 @@ void Outliner::EndSpelling (void) ...@@ -334,6 +334,9 @@ void Outliner::EndSpelling (void)
{ {
if (mbViewShellValid) 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()); ViewShellBase* pBase = PTR_CAST(ViewShellBase,SfxViewShell::Current());
if (pBase != NULL) if (pBase != NULL)
mpViewShell = pBase->GetMainViewShell(); mpViewShell = pBase->GetMainViewShell();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment