summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-08 15:48:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-08 15:49:34 +0100
commitf704d5a579eaa3bed1b40f8bdf5e40084622c79d (patch)
treecb099ae226dc41d1893de3037d9de4c545c0f342
parent70ba557865d1d528fba0899732fc3e67e71d8f55 (diff)
coverity#704752 Dereference after null check
Change-Id: Iad6fa342d8d0daef1f07ed4f99add015ce3e4078
-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 57513e706f26..9ed4ca4f1fe6 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -314,7 +314,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
pTempSet.reset( new SfxItemSet(*pDlg->GetOutputItemSet()) );
}
- if( pTempSet.get() )
+ if (pTempSet.get() && pStyleSheet)
{
pStyleSheet->AdjustToFontHeight(*pTempSet);