Kaydet (Commit) 8426af90 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

don't access freed memory

Change-Id: I3839d9af55c7dcd29d34850618a33c6c3b1ee2ec
üst f6251134
......@@ -845,6 +845,9 @@ ScPostIt* ScNoteUtil::CreateNoteFromCaption(
// ScNoteCaptionCreator c'tor updates the caption object to be part of a note
ScNoteCaptionCreator aCreator( rDoc, rPos, rCaption, bShown );
}
else
return 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