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

coverity#1130439 Dereference before null check

Change-Id: Ic0adacb785653e77f5031f6b6f499a7191765599
üst bde55e18
......@@ -923,8 +923,6 @@ ScPostIt* ScNoteUtil::CreateNoteFromString(
pNote->AutoStamp();
//insert takes ownership
rDoc.SetNote(rPos, pNote);
if(!pNote)
pNote = NULL;
}
return pNote;
}
......
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