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