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

coverity#704694 Dereference after null check

Change-Id: I37abe0241080d6ad1094589426d66a5bd2a4f3df
üst ccf0f7ef
......@@ -1110,7 +1110,8 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
{
pViewData->SetOptions( rNewOpt ); // veraendert rOldOpt
pViewData->GetDocument()->SetViewOptions( rNewOpt );
pDocSh->SetDocumentModified();
if (pDocSh)
pDocSh->SetDocumentModified();
bRepaint = true;
}
if ( bAnchorList )
......
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