summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/edtwin2.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-01-31 17:36:35 +0000
committerKurt Zenker <kz@openoffice.org>2006-01-31 17:36:35 +0000
commit6af6c4ae846c74556ab4448a81a80d1be46e74fc (patch)
tree9dcc488dca78f2b281fc032613e09a905efc5d53 /sw/source/ui/docvw/edtwin2.cxx
parent5288a8cb74f796255cd521e47fb9d7bd5208b988 (diff)
INTEGRATION: CWS tl17 (1.15.138); FILE MERGED
2006/01/06 13:57:20 tl 1.15.138.2: #128159# checking for 0 pointer added 2006/01/06 13:48:33 tl 1.15.138.1: #128159# checking for 0 pointer added
Diffstat (limited to 'sw/source/ui/docvw/edtwin2.cxx')
-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);
}
}