summaryrefslogtreecommitdiff
path: root/svx/source/dialog/grfpage.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-09-29 07:29:01 +0000
committerKai Ahrens <ka@openoffice.org>2000-09-29 07:29:01 +0000
commit166b75a6b089440b32c3ad0f82ce0495cbc9d586 (patch)
treedbba61e670eee9121acbcb91058b7f4d340b786c /svx/source/dialog/grfpage.cxx
parent0b3f27e0985be4e6f3b2d4ba6d59ba0afc91b6dd (diff)
check for NULL pointers
Diffstat (limited to 'svx/source/dialog/grfpage.cxx')
-rw-r--r--svx/source/dialog/grfpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/grfpage.cxx b/svx/source/dialog/grfpage.cxx
index e4ec3b2681..0af0a3ab3e 100644
--- a/svx/source/dialog/grfpage.cxx
+++ b/svx/source/dialog/grfpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: grfpage.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:01:08 $
+ * last change: $Author: ka $ $Date: 2000-09-29 08:29:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -340,7 +340,7 @@ BOOL SvxGrfCropPage::FillItemSet(SfxItemSet &rSet)
// die Groesse koennte schon von einer anderen Page gesetzt worden sein
// #44204#
- const SfxItemSet* pExSet = GetTabDialog()->GetExampleSet();
+ const SfxItemSet* pExSet = GetTabDialog() ? GetTabDialog()->GetExampleSet() : NULL;
const SfxPoolItem* pItem = 0;
if( pExSet && SFX_ITEM_SET ==
pExSet->GetItemState( nW, FALSE, &pItem ) )