summaryrefslogtreecommitdiff
path: root/svx
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
commit83debbac5d8c3871bd5ac44abc99677cdf148ac5 (patch)
tree0ed50b898e878d911c760d99c5b1d39dade5e1cc /svx
parent9e5287d15a26c37971c134fa2394ddb126363f18 (diff)
check for NULL pointers
Diffstat (limited to 'svx')
-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 4046984b807b..929b06d8b87c 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 ) )