To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103982





------- Additional comments from [email protected] Tue Aug  4 14:32:00 +0000 
2009 -------
AW: Found. Problem is SvxTextEditSourceImpl::GetBackgroundTextForwarder() which
calls pTextObj->GetEditOutlinerParaObject(). This creates a OPO which the caller
OWNS and has to take care of. When then
mpObject->NbcSetOutlinerParaObjectForText is called, the ownership is handed
over to mpObject. Nonetheless, at the end of the method, if( bTextEditActive )
delete pOutlinerParaObject is called. This deletes an OPO for which no ownership
exists when mpObject->NbcSetOutlinerParaObjectForText was called.

Thinking about a solution. The more general problem is OPO ownership per se;
this has changed by making OPO ref-counted and copy-on-write, but there have
also been MemoryLeak fixes for GetEditOutlinerParaObject() (like here) which
went wrong. I will have to take a look at all GetEditOutlinerParaObject() 
usages...


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to