From a01783051a8f35370b49a5838bf4928b6a50a19a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 26 Jul 2014 21:12:34 +0100 Subject: coverity#704753 Dereference after null check Change-Id: I4886995b925e3332e67d08a60e53a251be9f81e5 --- sd/source/ui/func/fupage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit