summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-26 21:12:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-26 21:25:18 +0100
commita01783051a8f35370b49a5838bf4928b6a50a19a (patch)
treeeb6967dbb73b87294c9d449cf2f97022a4139f0e /sd
parentcoverity#704748 Dereference after null check (diff)
downloadcore-a01783051a8f35370b49a5838bf4928b6a50a19a.tar.gz
core-a01783051a8f35370b49a5838bf4928b6a50a19a.zip
coverity#704753 Dereference after null check
Change-Id: I4886995b925e3332e67d08a60e53a251be9f81e5
Diffstat (limited to 'sd')
-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