#95797# Old ViewShell is destroyed after switching to a new ViewShell
This commit is contained in:
parent
2dd8fc6d93
commit
aab398d7e3
2 changed files with 6 additions and 6 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: fusearch.cxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: ka $ $Date: 2000-09-21 16:11:57 $
|
||||
* last change: $Author: dl $ $Date: 2001-12-14 07:44:20 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -126,7 +126,7 @@ FuSearch::FuSearch( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
|
|||
|
||||
FuSearch::~FuSearch()
|
||||
{
|
||||
pViewShell->GetViewFrame()->GetBindings().Invalidate( SidArraySpell );
|
||||
pDocSh->GetViewShell()->GetViewFrame()->GetBindings().Invalidate( SidArraySpell );
|
||||
|
||||
if (pSdOutliner)
|
||||
pSdOutliner->EndSpelling();
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: fuspell.cxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: ka $ $Date: 2000-09-21 16:11:57 $
|
||||
* last change: $Author: dl $ $Date: 2001-12-14 07:44:30 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -129,7 +129,7 @@ FuSpell::FuSpell( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
|
|||
|
||||
FuSpell::~FuSpell()
|
||||
{
|
||||
pViewShell->GetViewFrame()->GetBindings().Invalidate( SidArraySpell );
|
||||
pDocSh->GetViewShell()->GetViewFrame()->GetBindings().Invalidate( SidArraySpell );
|
||||
|
||||
if (pSdOutliner)
|
||||
pSdOutliner->EndSpelling();
|
||||
|
|
Loading…
Reference in a new issue