diff options
author | Kai Ahrens <ka@openoffice.org> | 2000-09-29 07:29:01 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2000-09-29 07:29:01 +0000 |
commit | 83debbac5d8c3871bd5ac44abc99677cdf148ac5 (patch) | |
tree | 0ed50b898e878d911c760d99c5b1d39dade5e1cc | |
parent | 9e5287d15a26c37971c134fa2394ddb126363f18 (diff) |
check for NULL pointers
-rw-r--r-- | svx/source/dialog/grfpage.cxx | 6 |
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 ) ) |