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

coverity#735810 Dereference after null check

Change-Id: I005ae6bf505fd2131c06e889f9fc3c12dae23c64
üst e40a7f2e
...@@ -2062,8 +2062,8 @@ void ScDocShell::GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet, ...@@ -2062,8 +2062,8 @@ void ScDocShell::GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet,
} }
OSL_ENSURE( pStyleSet, "PageStyle-Set not found! :-(" ); OSL_ENSURE( pStyleSet, "PageStyle-Set not found! :-(" );
if (!pStyleSet)
return;
const SvxSetItem* pSetItem = NULL; const SvxSetItem* pSetItem = NULL;
const SfxItemSet* pSet = NULL; const SfxItemSet* pSet = NULL;
......
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