diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 21:12:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 21:25:18 +0100 |
commit | a01783051a8f35370b49a5838bf4928b6a50a19a (patch) | |
tree | eb6967dbb73b87294c9d449cf2f97022a4139f0e /sd/source/ui/func/fupage.cxx | |
parent | c8bb0b241674f6eb834711e8ac18cd5fb6bc5c7f (diff) |
coverity#704753 Dereference after null check
Change-Id: I4886995b925e3332e67d08a60e53a251be9f81e5
Diffstat (limited to 'sd/source/ui/func/fupage.cxx')
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 2 |
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 |