diff --git a/sd/source/ui/func/fusearch.cxx b/sd/source/ui/func/fusearch.cxx index 70aadd3d5cb9..68b0169f6f80 100644 --- a/sd/source/ui/func/fusearch.cxx +++ b/sd/source/ui/func/fusearch.cxx @@ -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(); diff --git a/sd/source/ui/func/fuspell.cxx b/sd/source/ui/func/fuspell.cxx index 464185fa77b5..5bdaed4a97db 100644 --- a/sd/source/ui/func/fuspell.cxx +++ b/sd/source/ui/func/fuspell.cxx @@ -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();