summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/func/fupage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index bd11ce897861..53429c37f7b8 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -480,7 +480,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
void FuPage::ApplyItemSet( const SfxItemSet* pArgs )
{
- if( !pArgs )
+ if (!pArgs || !mpDrawViewShell)
return;
// Set new page-attributes