Kaydet (Commit) f704d5a5 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704752 Dereference after null check

Change-Id: Iad6fa342d8d0daef1f07ed4f99add015ce3e4078
üst 70ba5578
...@@ -314,7 +314,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent ) ...@@ -314,7 +314,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
pTempSet.reset( new SfxItemSet(*pDlg->GetOutputItemSet()) ); pTempSet.reset( new SfxItemSet(*pDlg->GetOutputItemSet()) );
} }
if( pTempSet.get() ) if (pTempSet.get() && pStyleSheet)
{ {
pStyleSheet->AdjustToFontHeight(*pTempSet); pStyleSheet->AdjustToFontHeight(*pTempSet);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment