summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/edtwin2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx
index 4e893abb8be8..b6d4af063432 100644
--- a/sw/source/ui/docvw/edtwin2.cxx
+++ b/sw/source/ui/docvw/edtwin2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: edtwin2.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 07:21:59 $
+ * last change: $Author: kz $ $Date: 2006-01-31 18:36:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -207,8 +207,8 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt)
if( pSdrView )
{
SdrPageView* pPV = pSdrView->GetPageViewPvNum(0);
- bWeiter = ((SwDPage*)pPV->GetPage())->RequestHelp(this,
- pSdrView, rEvt);
+ SwDPage* pPage = pPV ? ((SwDPage*)pPV->GetPage()) : 0;
+ bWeiter = pPage && pPage->RequestHelp(this, pSdrView, rEvt);
}
}